%callback | |
---|---|
%close-foreign-library | Closes the foreign library NAME. |
%foreign-alloc | Allocate SIZE bytes on the heap and return a pointer. |
%foreign-type-alignment | Return the alignment in bytes of a foreign type. |
%foreign-type-size | Return the size in bytes of a foreign type. |
%load-foreign-library | Load the foreign library NAME. |
%mem-ref | |
%mem-set | |
cancel-finalization | Cancels all of OBJECT's finalizers, if any. |
canonicalize-symbol-name-case | |
finalize | Pushes a new FUNCTION to the OBJECT's list of finalizers. FUNCTION should take no arguments. Retu... |
foreign-free | Free a PTR allocated by FOREIGN-ALLOC. |
foreign-symbol-pointer | Returns a pointer to a foreign symbol NAME. |
inc-pointer | Return a pointer pointing OFFSET bytes past PTR. |
make-pointer | Return a pointer pointing to ADDRESS. |
make-shareable-byte-vector | Create a Lisp vector of SIZE bytes can passed to WITH-POINTER-TO-VECTOR-DATA. |
null-pointer | Construct and return a null pointer. |
null-pointer-p | Return true if PTR is a null pointer. |
pointer-address | Return the address pointed to by PTR. |
pointer-eq | Return true if PTR1 and PTR2 point to the same address. |
pointerp | Return true if PTR is a foreign pointer. |
%defcallback | |
---|---|
%foreign-funcall | Perform a foreign function call, document it more later. |
%foreign-funcall-pointer | Funcall a pointer to a foreign function. |
with-foreign-pointer | Bind VAR to SIZE bytes of foreign memory during BODY. The pointer in VAR is invalid beyond the d... |
with-pointer-to-vector-data | Bind PTR-VAR to a foreign pointer to the data in VECTOR. |