Files
cpython-source-deps/testsuite/libffi.call
Dominik Vogt 6e8a446083 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com>
* 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.
2014-09-20 06:24:41 -04:00
..
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2014-04-20 17:08:37 -07:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2013-02-08 15:18:19 -05:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2013-02-07 09:57:20 -05:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2013-11-16 06:29:25 -05:00
2009-10-04 08:11:33 -04:00
2013-11-16 06:29:25 -05:00
2009-10-04 08:11:33 -04:00
2012-10-30 07:36:49 -04:00
2013-02-10 08:47:26 -05:00
2009-10-04 08:11:33 -04:00
2011-02-09 18:30:02 -05:00
2014-05-11 09:56:40 -04:00
2009-10-04 08:11:33 -04:00
2009-12-24 00:22:00 -05:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2013-02-07 09:57:20 -05:00
2009-10-04 08:11:33 -04:00
2013-02-09 06:54:40 -05:00
2013-02-07 09:57:20 -05:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2013-10-08 06:45:51 -04:00
2012-03-30 08:14:08 -04:00
2009-10-04 08:11:33 -04:00
2012-04-05 15:45:19 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2009-10-04 08:11:33 -04:00
2010-01-12 09:14:14 -05:00
2009-10-04 08:11:33 -04:00
2012-01-23 12:41:06 -05:00
2009-10-04 08:11:33 -04:00
2013-01-21 07:55:37 -05:00
2009-10-04 08:11:33 -04:00
2013-02-07 09:57:20 -05:00
2013-02-07 09:57:20 -05:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-03-30 08:14:08 -04:00
2012-10-30 07:36:49 -04:00
2013-11-16 06:29:25 -05:00
2013-11-16 06:29:25 -05:00
2012-10-30 07:36:49 -04:00
2012-10-30 07:36:49 -04:00