summaryrefslogtreecommitdiff
path: root/doc/libffi.texi
Commit message (Collapse)AuthorAgeFilesLines
* Clean ups, preparing for new releaseAnthony Green2022-09-191-21/+18
|
* Remove caveat about varargs supportAnthony Green2021-06-271-3/+0
|
* Search $LIBFFI_TMPDIR also (#605)DJ Delorie2021-03-231-0/+50
| | | | | | | Most temp file directories need to be hardened against execution, but libffi needs execute privileges. Add a libffi-specific temp directory that can be set up by sysadmins as needed with suitable permissions. This both ensures that libffi will have a valid temp directory to use as well as preventing attempts to access other directories.
* Bug #680. Don't accept floats or small ints as var args. (#628)Anthony Green2021-03-231-11/+16
| | | | | | | * Bug #680. Don't accept floats or small ints as var args. * Bug #680. Don't accept floats or small ints as var args. * Bug #680. Don't accept floats or small ints as var args.
* Manual clean-ups, and include the PDF in the source distribution.Anthony Green2019-11-221-14/+26
|
* Correct typos in libffi.texiTerry Moore2017-02-261-2/+2
| | | One "it's" should be "its", and one "is" should be "in".
* doc: fix typoYousong Zhou2016-08-151-2/+2
| | | | | | Name of last argument to ffi_get_struct_offsets is `offsets`, not `sizes` Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* add ffi_get_struct_offsetsTom Tromey2016-02-221-3/+27
|
* Merge pull request #214 from tromey/document-enum-supportAnthony Green2016-02-201-3/+13
|\ | | | | document (lack of) enum handling in libffi
| * document (lack of) enum handling in libffiTom Tromey2015-11-191-3/+13
| |
* | correctly document closure return promotionTom Tromey2015-12-171-7/+11
| |
* | fix formatting of ffi_prep_closure_loc argumentsTom Tromey2015-12-171-12/+20
|/
* speling fixAnthony Green2015-11-151-3/+3
|
* documentation fixesTom Tromey2015-11-101-7/+181
| | | | Fixes #78. Documentation for #33 and #35, but no fix.
* Merge pull request #202 from tromey/note-prep-cif-var-usageAnthony Green2015-10-111-1/+1
|\ | | | | document that there must be ntotalargs types
| * document that there must be ntotalargs typesTom Tromey2015-10-061-1/+1
| |
* | Add missing "@" to @var{}Tom Tromey2015-10-051-1/+1
|/
* Remove incomplete sentenceAnthony Green2015-01-281-5/+0
|
* 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com>Dominik Vogt2014-09-201-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/types.c (FFI_TYPEDEF, FFI_NONCONST_TYPEDEF): Merge the macros by adding another argument that controls whether the result is const or not (FFI_LDBL_CONST): Temporary macro to reduce ifdef confusion * src/prep_cif.c (ffi_prep_cif_core): Replace list of systems with new macro FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION * src/pa/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. * src/s390/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. * src/x86/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> * doc/libffi.texi (Primitive Types): Document ffi_type_complex_float, ffi_type_complex_double and ffi_type_complex_longdouble (Complex Types): New subsection. (Complex Type Example): Ditto. * testsuite/libffi.call/cls_align_complex_double.c: New FFI_TYPE_COMPLEX test. * testsuite/libffi.call/cls_align_complex_float.c: Ditto. * testsuite/libffi.call/cls_align_complex_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_double.c: Ditto. * testsuite/libffi.call/cls_complex_float.c: Ditto. * testsuite/libffi.call/cls_complex_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_struct_double.c: Ditto. * testsuite/libffi.call/cls_complex_struct_float.c: Ditto. * testsuite/libffi.call/cls_complex_struct_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_va_double.c: Ditto. * testsuite/libffi.call/cls_complex_va_float.c: Ditto. * testsuite/libffi.call/cls_complex_va_longdouble.c: Ditto. * testsuite/libffi.call/complex_double.c: Ditto. * testsuite/libffi.call/complex_defs_double.c: Ditto. * testsuite/libffi.call/complex_float.c: Ditto. * testsuite/libffi.call/complex_defs_float.c: Ditto. * testsuite/libffi.call/complex_longdouble.c: Ditto. * testsuite/libffi.call/complex_defs_longdouble.c: Ditto. * testsuite/libffi.call/complex_int.c: Ditto. * testsuite/libffi.call/many_complex_double.c: Ditto. * testsuite/libffi.call/many_complex_float.c: Ditto. * testsuite/libffi.call/many_complex_longdouble.c: Ditto. * testsuite/libffi.call/return_complex1_double.c: Ditto. * testsuite/libffi.call/return_complex1_float.c: Ditto. * testsuite/libffi.call/return_complex1_longdouble.c: Ditto. * testsuite/libffi.call/return_complex2_double.c: Ditto. * testsuite/libffi.call/return_complex2_float.c: Ditto. * testsuite/libffi.call/return_complex2_longdouble.c: Ditto. * testsuite/libffi.call/return_complex_double.c: Ditto. * testsuite/libffi.call/return_complex_float.c: Ditto. * testsuite/libffi.call/return_complex_longdouble.c: Ditto. * src/raw_api.c (ffi_raw_to_ptrarray): Handle FFI_TYPE_COMPLEX (ffi_ptrarray_to_raw): Ditto. * src/prep_cif.c (ffi_prep_cif_core): Abort if FFI_TYPE_COMPLEX is not implemented in libffi for the target. * src/java_raw_api.c (ffi_java_raw_size): FFI_TYPE_COMPLEX not supported yet (abort). (ffi_java_raw_to_ptrarray): Ditto. (ffi_java_rvalue_to_raw): Ditto. (ffi_java_raw_to_rvalue): Ditto. * src/debug.c (ffi_type_test): Add debug tests for complex types. * include/ffi.h.in (FFI_TYPE_COMPLEX): Add new FFI_TYPE_COMPLEX. (FFI_TYPE_LAST): Bump. (ffi_type_complex_float): Add new ffi_type_.... (ffi_type_complex_double): Ditto. (ffi_type_complex_longdouble): Ditto. 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> * src/s390/ffitarget.h (FFI_TARGET_HAS_COMPLEX_TYPE): Define to provide FFI_TYPE_COMPLEX support. * src/s390/ffi.c (ffi_check_struct_type): Implement FFI_TYPE_COMPLEX (ffi_prep_args): Ditto. (ffi_prep_cif_machdep): Ditto. (ffi_closure_helper_SYSV): Ditto.
* Fix typo in docDaiki Ueno2014-03-051-1/+1
|
* Fix sample closure codeAndrew Haley2013-11-161-7/+9
|
* This enshrines the current testsuite practice of using ffi_arg forAlan Modra2013-11-131-4/+5
| | | | | | | 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.
* Fix up docsAnthony Green2013-11-021-3/+3
|
* Documentation fixAnthony Green2013-03-161-1/+1
|
* Fix last patchAnthony Green2011-11-121-3/+1
|
* Add David Gilbert's variadic function call supportAnthony Green2011-11-121-6/+30
|
* don't copy win64 struct argsAnthony Green2010-08-051-1/+3
|
* Rebase to latest GCC sourcesAnthony Green2010-04-131-1/+1
|
* Add closure example docAnthony Green2010-01-131-3/+60
|
* Update missing changes for 3.0.9r4.Anthony Green2009-12-241-1/+1
|
* Initial commitAnthony Green2009-10-041-0/+541