Mercurial > pub > dyncall > dyncall
diff dyncall/dyncall.3 @ 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 | 71c884e610f0 |
line wrap: on
line diff
--- a/dyncall/dyncall.3 Mon Apr 13 21:40:28 2020 +0200 +++ b/dyncall/dyncall.3 Tue Apr 14 16:56:57 2020 +0200 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2007-2013 Daniel Adler <dadler AT uni-goettingen DOT de>, +.\" Copyright (c) 2007-2020 Daniel Adler <dadler AT uni-goettingen DOT de>, .\" Tassilo Philipp <tphilipp AT potion-studios DOT com> .\" .\" Permission to use, copy, modify, and distribute this software for any @@ -112,12 +112,14 @@ silently ignored. .Pp .Fn dcReset -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. +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. .Pp .Fn dcArgBool , .Fn dcArgChar ,