Package: cffi
Function make-pointer
Lambda Listmake-pointer (address) ArgumentsReturn ValueA foreign pointer. Details The function make-pointer will return a foreign pointer pointing to address. ExamplesCFFI> (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 CFFI> (typep ** 'foreign-pointer) => T | See also |