diff doc/manual/manual_dyncall_api.tex @ 362:78dfa2f9783a

- added helper function dcGetModeFromCCSigChar() mapping callconv sig chars to respective mode - added a signature-based syscall to callf testcode - manual clarification about dcReset usage in combination with dcMode
author Tassilo Philipp
date Tue, 14 Apr 2020 16:56:57 +0200
parents 32736025371f
children 3bdd326dc269
line wrap: on
line diff
--- a/doc/manual/manual_dyncall_api.tex	Mon Apr 13 21:40:28 2020 +0200
+++ b/doc/manual/manual_dyncall_api.tex	Tue Apr 14 16:56:57 2020 +0200
@@ -214,11 +214,12 @@
 void dcReset(DCCallVM* vm);
 \end{lstlisting}
 
-
-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.\\
+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 (except for when setting mode
+DC\_SIGCHAR\_CC\_ELLIPSIS\_VARARGS, which is used prior to binding varargs of
+variadic functions). 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.\\