document that there must be ntotalargs types

This commit is contained in:
Tom Tromey
2015-10-06 11:42:43 -06:00
parent 17ffc3655a
commit 0ebde2d24a

View File

@@ -161,7 +161,7 @@ same as for @code{ffi_prep_cif} except that:
variadic arguments. It must be greater than zero. variadic arguments. It must be greater than zero.
@var{ntotalargs} the total number of arguments, including variadic @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 Note that, different cif's must be prepped for calls to the same
function when different numbers of arguments are passed. function when different numbers of arguments are passed.