From cf6bf9818e8394cfcdb07a40c6a5e2ee6b01d333 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sat, 2 Nov 2013 17:23:59 -0400 Subject: Fix up docs --- doc/libffi.info | 30 +++++++++++++++--------------- doc/libffi.texi | 6 +++--- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'doc') diff --git a/doc/libffi.info b/doc/libffi.info index e57d345..fb02d37 100644 --- a/doc/libffi.info +++ b/doc/libffi.info @@ -156,11 +156,11 @@ function: CIF. CIF must have already been prepared using 'ffi_prep_cif'. RVALUE is a pointer to a chunk of memory that will hold the result - of the function call. This must be large enough to hold the result - and must be suitably aligned; it is the caller's responsibility to - ensure this. If CIF declares that the function returns 'void' - (using 'ffi_type_void'), then RVALUE is ignored. If RVALUE is - 'NULL', then the return value is discarded. + of the function call. This must be large enough to hold the + result, no smaller than the system register size (generally 32 or + 64 bits), and must be suitably aligned; it is the caller's + responsibility to ensure this. If CIF declares that the function + returns 'void' (using 'ffi_type_void'), then RVALUE is ignored. AVALUES is a vector of 'void *' pointers that point to the memory locations holding the argument values for a call. If CIF declares @@ -601,15 +601,15 @@ Node: Top682 Node: Introduction1429 Node: Using libffi3061 Node: The Basics3547 -Node: Simple Example7187 -Node: Types8214 -Node: Primitive Types8497 -Node: Structures10318 -Node: Type Example11192 -Node: Multiple ABIs12415 -Node: The Closure API12786 -Node: Closure Example15730 -Node: Missing Features17289 -Node: Index17742 +Node: Simple Example7198 +Node: Types8225 +Node: Primitive Types8508 +Node: Structures10329 +Node: Type Example11203 +Node: Multiple ABIs12426 +Node: The Closure API12797 +Node: Closure Example15741 +Node: Missing Features17300 +Node: Index17753  End Tag Table diff --git a/doc/libffi.texi b/doc/libffi.texi index 5c0552b..eca11dc 100644 --- a/doc/libffi.texi +++ b/doc/libffi.texi @@ -184,11 +184,11 @@ This calls the function @var{fn} according to the description given in @var{rvalue} is a pointer to a chunk of memory that will hold the result of the function call. This must be large enough to hold the -result and must be suitably aligned; it is the caller's responsibility +result, no smaller than the system register size (generally 32 or 64 +bits), and must be suitably aligned; it is the caller's responsibility to ensure this. If @var{cif} declares that the function returns @code{void} (using @code{ffi_type_void}), then @var{rvalue} is -ignored. If @var{rvalue} is @samp{NULL}, then the return value is -discarded. +ignored. @var{avalues} is a vector of @code{void *} pointers that point to the memory locations holding the argument values for a call. If @var{cif} -- cgit v1.2.1