[cffi-devel] C99 complex datatypes?
Luís Oliveira
luismbo at gmail.com
Sun Oct 15 13:15:15 UTC 2006
On 10/15/06, Mark Hoemmen <mark.hoemmen at gmail.com> wrote:
> C99 supports complex floating-point types. As
> such, we would like to include complex number support in lisp-matrix.
> However, CFFI doesn't support passing C structs by value, so we can't
> implement a complex number interface in CFFI using DEFCSTRUCT.
I don't know anything about how C99 compilers implement the complex
number types, but if passing structs by value is required, you'll need
to add some C glue.
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
More information about the cffi-devel
mailing list