Mercurial > pub > dyncall > dyncall
comparison doc/manual/manual_dyncall_api.tex @ 50:9bd3c5219505
- minor test code fix
- doc
- cleanups
author | cslag |
---|---|
date | Sun, 20 Dec 2015 15:38:14 +0100 |
parents | 3e629dc19168 |
children | ffd63de9aa75 |
comparison
equal
deleted
inserted
replaced
49:4388e27eadd7 | 50:9bd3c5219505 |
---|---|
218 | 218 |
219 \begin{lstlisting}[language=c] | 219 \begin{lstlisting}[language=c] |
220 void dcReset(DCCallVM* vm); | 220 void dcReset(DCCallVM* vm); |
221 \end{lstlisting} | 221 \end{lstlisting} |
222 | 222 |
223 Resets the internal stack of arguments and prepares it for the selected mode. | 223 |
224 Resets the internal stack of arguments and prepares it for a new call. | |
224 This function should be called after setting the call mode (using dcMode), but | 225 This function should be called after setting the call mode (using dcMode), but |
225 prior to binding arguments to the CallVM. Use it also when reusing a CallVM, as | 226 prior to binding arguments to the CallVM. Use it also when reusing a CallVM, as |
226 arguments don't get flushed automatically after a function call invocation.\\ | 227 arguments don't get flushed automatically after a function call invocation.\\ |
228 Note: you should also call this function after initial creation of the a CallVM | |
229 object, as dcNewCallVM doesn't do this, implicitly.\\ | |
227 | 230 |
228 \subsection{Argument binding} | 231 \subsection{Argument binding} |
229 | 232 |
230 \paragraph{Functions} | 233 \paragraph{Functions} |
231 | 234 |