diff 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
line wrap: on
line diff
--- a/dyncall/dyncall.3	Sun Dec 20 00:12:06 2015 +0100
+++ b/dyncall/dyncall.3	Sun Dec 20 15:38:14 2015 +0100
@@ -114,10 +114,12 @@
 silently ignored.
 .Pp
 .Fn dcReset
-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.
 .Pp
 .Fn dcArgBool ,
 .Fn dcArgChar ,