Next: foreign-alloc, Previous: Accessing Foreign Memory, Up: Pointers [Contents][Index]
A foreign pointer.
The foreign-free
function frees a ptr
previously
allocated by foreign-alloc
. The consequences of freeing a given
pointer twice are undefined.
CFFI> (foreign-alloc :int) ⇒ #<A Mac Pointer #x1022E0> CFFI> (foreign-free *) ⇒ NIL