summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2015-10-11 10:54:50 -0400
committerAnthony Green <green@moxielogic.com>2015-10-11 10:54:50 -0400
commite9de7e35f2339598b16cbb375f9992643ed81209 (patch)
treef16a4619cb50a3d003a7335b0520d61c7dee5a54 /doc
parentd19b6cc78e956e7ffd48b39fd7c441c22e633ce2 (diff)
parent0ebde2d24a3deb7b0cdf5cb1e625b55af2834fde (diff)
downloadlibffi-e9de7e35f2339598b16cbb375f9992643ed81209.tar.gz
Merge pull request #202 from tromey/note-prep-cif-var-usage
document that there must be ntotalargs types
Diffstat (limited to 'doc')
-rw-r--r--doc/libffi.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/libffi.texi b/doc/libffi.texi
index 054fdb7..ff72e58 100644
--- a/doc/libffi.texi
+++ b/doc/libffi.texi
@@ -161,7 +161,7 @@ same as for @code{ffi_prep_cif} except that:
variadic arguments. It must be greater than zero.
@var{ntotalargs} the total number of arguments, including variadic
-and fixed arguments.
+and fixed arguments. @var{argtypes} must have this many elements.
Note that, different cif's must be prepped for calls to the same
function when different numbers of arguments are passed.