Next: mem-aref, Previous: incf-pointer, Up: Pointers
The function make-pointer
will return a foreign pointer
pointing to address.
CFFI> (make-pointer 42) => #<FOREIGN-ADDRESS #x0000002A> CFFI> (pointerp *) => T CFFI> (pointer-address **) => 42 CFFI> (inc-pointer *** -42) => #<FOREIGN-ADDRESS #x00000000> CFFI> (null-pointer-p *) => T
inc-pointer
null-pointer
null-pointer-p
pointerp
pointer-address
pointer-eq
mem-ref