This enshrines the current testsuite practice of using ffi_arg for

returned values.  It would be reasonable and logical to use the actual
return argument type as passed to ffi_prep_cif, but this would mean
changing a large number of tests that use ffi_arg and all backends
that write results to an ffi_arg.
This commit is contained in:
Alan Modra
2013-11-13 16:55:36 -05:00
committed by Anthony Green
parent 8af42f9944
commit 58c2577a3f
5 changed files with 28 additions and 21 deletions
+5
View File
@@ -1,3 +1,8 @@
2013-11-13 Alan Modra <amodra@gmail.com>
* doc/libffi.texi (Simple Example): Correct example code.
* doc/libffi.info, doc/stamp-vti, doc/version.texi: Rebuilt.
2013-11-13 Anthony Green <green@moxielogic.com>
* include/ffi_common.h: Respect HAVE_ALLOCA_H for GNU compiler