[RFC][PATCH 0/3] Complex type support (FFI_TYPE_COMPLEX)

Anthony Green green@moxielogic.com
Sat Sep 20 10:31:00 GMT 2014


Dominik Vogt <vogt@linux.vnet.ibm.com> writes:

> The following series of patches introduces a framework for C
> complex types (FFI_TYPE_COMPLEX) and support for complex types on
> s390/s390x.  For now, an architecture that supports complex types
> has to define FFI_TARGET_HAS_COMPLEX_TYPE to activate the support.
> This can be changed in the future when most architecture have
> implemented it so that this is the default.  The patch does not
> address complex support in java_raw_api.c (as there is no
> documentation how this interface is supposed to work).

Thank you for this tremendous effort, Dominik.

I'm not all that familiar with how GCC handles complex types on other
architectures, but hopefully they are as straight forward as on s390.

It would be nice if the complex test cases turned into expected failures
for platforms that don't have the back end support.

I've committed this patch to the libffi git repo.

AG



More information about the Libffi-discuss mailing list