I have two more small patches for complex type support to make it a bit easier to use. The first patch makes sure that FFI_TYPE_COMPLEX is only defined on a system that has complex support in libffi, so the user can say something like #ifdef FFI_TARGET_HAS_COMPLEX_TYPE /* (code with complex support) */ #else /* (code without complex support) */ #endif The macro FFI_TARGET_HAS_COMPLEX_TYPE is for internal use only. Once all targets implement complex type support it could be removed. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany