[Openmcl-devel] FFI question: passing aligned pointers
artem.mironov at gmail.com
Fri Dec 3 10:14:53 UTC 2010
I'm new to CCL and to Lisp in general. I have a question about passing
C pointers to/from C functions using (external-call ...).
A C pointers returned by system's malloc() are aligned by at least 8 bytes.
Such pointers can be safely passed to/from lisp as fixnums, without boxing
I'm looking for something like this:
(external-call "c_function" :fixnum 0 :int 7 :fixnum)
Is there such feature or where to look to try to implement it?
More information about the Openmcl-devel