diff 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
line wrap: on
line diff
--- a/doc/manual/manual_dyncall_api.tex	Sun Dec 20 00:12:06 2015 +0100
+++ b/doc/manual/manual_dyncall_api.tex	Sun Dec 20 15:38:14 2015 +0100
@@ -220,10 +220,13 @@
 void dcReset(DCCallVM* vm);
 \end{lstlisting}
 
-Resets the internal stack of arguments and prepares it for the selected mode.
+
+Resets the internal stack of arguments and prepares it for a new call.
 This function should be called after setting the call mode (using dcMode), but
 prior to binding arguments to the CallVM. Use it also when reusing a CallVM, as
 arguments don't get flushed automatically after a function call invocation.\\
+Note: you should also call this function after initial creation of the a CallVM
+object, as dcNewCallVM doesn't do this, implicitly.\\
 
 \subsection{Argument binding}