Hi,
Is there a way to make mem-aref work with CL's complex numbers? I
don't need anything else from CFFI (no complex function arguments, return
types, etc), just mem-aref, eg something like
(mem-aref ptr :complex-float 11)
(setf (mem-aref ptr :complex-float 12) #C(1s0 2s0))
with complex numbers stored as per the C99 standard (basically, two
single or double floats next to each other) and the offset properly
calculated.
Doing this would allow me to dispose of some ugly workaround code.
Thanks,
Tamas