Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall.3 @ 50:9bd3c5219505
- minor test code fix
- doc
- cleanups
author | cslag |
---|---|
date | Sun, 20 Dec 2015 15:38:14 +0100 |
parents | 3e629dc19168 |
children | c40e9fcccc41 |
comparison
equal
deleted
inserted
replaced
49:4388e27eadd7 | 50:9bd3c5219505 |
---|---|
112 available modes. Note that some mode/platform combinations don't make any | 112 available modes. Note that some mode/platform combinations don't make any |
113 sense (e.g. using a PowerPC calling convention on a MIPS platform) and are | 113 sense (e.g. using a PowerPC calling convention on a MIPS platform) and are |
114 silently ignored. | 114 silently ignored. |
115 .Pp | 115 .Pp |
116 .Fn dcReset | 116 .Fn dcReset |
117 resets the internal stack of arguments and prepares it for the selected mode. | 117 resets the internal stack of arguments and prepares it for a new call. |
118 This function should be called after setting the call mode (using dcMode), but | 118 This function should be called after setting the call mode (using dcMode), but |
119 prior to binding arguments to the CallVM. Use it also when reusing a CallVM, as | 119 prior to binding arguments to the CallVM. Use it also when reusing a CallVM, as |
120 arguments don't get flushed automatically after a function call invocation. | 120 arguments don't get flushed automatically after a function call invocation. |
121 Note: you should also call this function after initial creation of the a CallVM | |
122 object, as dcNewCallVM doesn't do this, implicitly. | |
121 .Pp | 123 .Pp |
122 .Fn dcArgBool , | 124 .Fn dcArgBool , |
123 .Fn dcArgChar , | 125 .Fn dcArgChar , |
124 .Fn dcArgShort , | 126 .Fn dcArgShort , |
125 .Fn dcArgInt , | 127 .Fn dcArgInt , |