
16 Feb
2009
16 Feb
'09
11:44 p.m.
On 2009-02-14, Maurício
The way you wrote CComplex a, is it possible to write
foreign import ccall "somename" somename :: CComplex CDouble -> IO CComplex CDouble
Ah, no, I'm afraid not, I misunderstood what you wanted. You do indeed need to go through CPtr (CComplex CDouble) with this scheme. I think having direct access at this level requires modifying the compiler. The FFI spec really does need to be updated to C99. -- Aaron Denney -><-