From 0ebde2d24a3deb7b0cdf5cb1e625b55af2834fde Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 6 Oct 2015 11:42:43 -0600 Subject: [PATCH] document that there must be ntotalargs types --- doc/libffi.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/libffi.texi b/doc/libffi.texi index b9887a8c..56068895 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.