[plt-scheme] creating long double/complex ctype in the ffi
On Aug 8, Atmam Ta wrote:
> Hi,
>
> I am trying to create a plt-scheme interface to a c library that
> uses complex numbers as arguments. The complex type is either long
> double or the standard c++ complex value. Does anyone have any idea
> how I could create these ctypes in the ffi?
The foreign interface has only simple C types, no C++. If you can
reach it from C, then the easiest way would be to write a small C file
that does the translation to the C++ types and glue that in.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!