Package Cffi - external symbols

Part of:

asdf-system cityscape-builder, asdf-system cityscape-osd, asdf-system cityscape-city, asdf-system cityscape-terrain, asdf-system cityscape-building, asdf-system cityscape-draw, asdf-system cityscape-input, asdf-system cityscape-externals, asdf-system cl-glfw-opengl-version_1_1, asdf-system cl-glfw, asdf-system cityscape-util, asdf-system cityscape-craft, asdf-system cffi
See internal symbols too
Package Cffi uses the packages Cffi-Sys, Cffi-Utils and Common-Lisp. It has 230 total symbols and 52 external ones.

Condition

load-foreign-library-error

Variable

*darwin-framework-directories*List of directories where Frameworks are searched for.
*foreign-library-directories*List onto which user-defined library paths can be pushed.

Function

convert-from-foreign
convert-to-foreign
foreign-allocAllocate enough memory to hold COUNT objects of type TYPE. If
INITIAL-ELEMENT is supplied, each e...
foreign-bitfield-symbolsConvert an integer VALUE into a list of matching symbols according to
the bitfield TYPE.
foreign-bitfield-valueConvert a list of symbols into an integer according to the TYPE bitfield.
foreign-enum-keywordConvert an integer VALUE into a keyword according to the enum TYPE.
foreign-enum-valueConvert a KEYWORD into an integer according to the enum TYPE.
foreign-slot-namesReturns a list of TYPE's slot names in no particular order.
foreign-slot-offsetReturn the offset of SLOT in a struct TYPE.
foreign-slot-pointerReturn the address of SLOT-NAME in the structure at PTR.
foreign-slot-valueReturn the value of SLOT-NAME in the foreign structure at PTR.
foreign-string-allocAllocate a foreign string containing Lisp string STRING.
The string must be freed with FOREIGN-ST...
foreign-string-freeFree a foreign string allocated by FOREIGN-STRING-ALLOC.
foreign-string-to-lispCopy at most SIZE characters from PTR into a Lisp string.
If PTR is a null pointer, returns nil.
free-converted-object
get-callback
get-var-pointerReturn a pointer to the foreign global variable relative to SYMBOL.
lisp-string-to-foreignCopy at most SIZE-1 characters from a Lisp STRING to PTR.
The foreign string will be null-termina...
load-foreign-libraryLoads a foreign LIBRARY which can be a symbol denoting a library defined
through DEFINE-FOREIGN-L...
mem-arefLike MEM-REF except for accessing 1d arrays.
mem-refReturn the value of TYPE at OFFSET bytes from PTR. If TYPE is aggregate,
we don't return its 'val...

Generic-Function

expand-from-foreign
expand-to-foreign
expand-to-foreign-dyn
foreign-type-alignmentReturn the structure alignment in bytes of a foreign type.
foreign-type-sizeReturn the size in bytes of a foreign type.
free-translated-object
translate-from-foreign
translate-to-foreign

Macro

callback
defbitfieldDefine an foreign enumerated type.
defcallback
defcenumDefine an foreign enumerated type.
defcfunDefines a Lisp function that calls a foreign function.
defcstructDefine the layout of a foreign structure.
defctypeUtility macro for simple C-like typedefs. A similar effect could be
obtained using define-foreign...
defcunionDefine the layout of a foreign union.
defcvarDefine a foreign global variable.
define-foreign-libraryDefines a foreign library NAME that can be posteriorly used with
the USE-FOREIGN-LIBRARY macro.
define-foreign-typeDefine a parameterized type.
foreign-funcallWrapper around %FOREIGN-FUNCALL(-POINTER) that translates its arguments.
incf-pointer
use-foreign-library
with-foreign-objectBind VAR to a pointer to COUNT objects of TYPE during BODY.
The buffer has dynamic extent and may...
with-foreign-objects
with-foreign-pointer-as-stringLike WITH-FOREIGN-POINTER except VAR as a Lisp string is used as
the return value of an implicit ...
with-foreign-slotsCreate local symbol macros for each var in VARS to reference
foreign slots in PTR of TYPE. Simil...
with-foreign-stringBind VAR to a foreign string containing LISP-STRING in BODY.