Skip to content

Commit

Permalink
Merge pull request libffi#202 from tromey/note-prep-cif-var-usage
Browse files Browse the repository at this point in the history
document that there must be ntotalargs types
  • Loading branch information
atgreen committed Oct 11, 2015
2 parents d19b6cc + 0ebde2d commit e9de7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/libffi.texi
Expand Up @@ -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.
Expand Down

0 comments on commit e9de7e3

Please sign in to comment.