| load-foreign-library-error |
|---|
| aggregate-struct-slot | Aggregate structure slots. |
|---|---|
| foreign-bitfield | Describes a foreign bitfield type. |
| foreign-built-in-type | A built-in foreign type. |
| foreign-enum | Describes a foreign enumerated type. |
| foreign-pointer-type | |
| foreign-struct-slot | Base class for simple and aggregate slots. |
| foreign-struct-type | Hash table of plists containing slot information. |
| foreign-type | Contains information about a basic foreign type. |
| foreign-type-alias | A type that aliases another type. |
| foreign-type-wrapper | Class for the wrapper type. |
| foreign-typedef | |
| simple-struct-slot | Non-aggregate structure slots. |
| *cffi-feature-suffix-map* | Mapping of OS feature keywords to shared library suffixes. |
|---|---|
| *darwin-framework-directories* | List of directories where Frameworks are searched for. |
| *foreign-libraries* | Hashtable of defined libraries. |
| *foreign-library-directories* | List onto which user-defined library paths can be pushed. |
| *foreign-types* | Hash table of all user-defined foreign types. |
| *type-parsers* | Hash table of defined type parsers. |
| %defcfun | |
|---|---|
| %defcfun-varargs | |
| %expand-type-from-foreign | |
| %expand-type-to-foreign | |
| %expand-type-to-foreign-dyn | |
| %foreign-bitfield-symbols | |
| %foreign-bitfield-value | |
| %foreign-enum-keyword | |
| %foreign-enum-value | |
| adjust-for-alignment | Return OFFSET aligned properly for TYPE according to ALIGNMENT-TYPE. |
| canonicalize-foreign-type | Convert TYPE to a built-in type by following aliases. Signals an error if the type cannot be reso... |
| cffi-feature-p | Matches a FEATURE-EXPRESSION against the symbols in *FEATURES* that belong to the CFFI-FEATURES p... |
| close-foreign-library | Closes a foreign library NAME. |
| convert-from-foreign | |
| convert-to-foreign | |
| default-library-suffix | Return a string to use as default library suffix based on the operating system. This is used to ... |
| defcfun-helper-forms | |
| find-darwin-framework | Searches for FRAMEWORK-NAME in *DARWIN-FRAMEWORK-DIRECTORIES*. |
| find-file | Searches for PATH in a list of DIRECTORIES and returns the first it finds. |
| find-type | Return the foreign type instance for NAME or nil. |
| find-type-or-lose | Return the foreign type instance for NAME or signal an error. |
| find-type-parser | Return the type parser for SYMBOL. |
| follow-typedefs | |
| foreign-alloc | Allocate enough memory to hold COUNT objects of type TYPE. If INITIAL-ELEMENT is supplied, each e... |
| foreign-bitfield-symbols | Convert an integer VALUE into a list of matching symbols according to the bitfield TYPE. |
| foreign-bitfield-value | Convert a list of symbols into an integer according to the TYPE bitfield. |
| foreign-enum-keyword | Convert an integer VALUE into a keyword according to the enum TYPE. |
| foreign-enum-value | Convert a KEYWORD into an integer according to the enum TYPE. |
| foreign-function-name | Return the foreign function name of NAME. |
| foreign-slot-names | Returns a list of TYPE's slot names in no particular order. |
| foreign-slot-offset | Return the offset of SLOT in a struct TYPE. |
| foreign-slot-pointer | Return the address of SLOT-NAME in the structure at PTR. |
| foreign-slot-set | Set the value of SLOT-NAME in a foreign structure. |
| foreign-slot-value | Return the value of SLOT-NAME in the foreign structure at PTR. |
| foreign-string-alloc | Allocate a foreign string containing Lisp string STRING. The string must be freed with FOREIGN-ST... |
| foreign-string-free | Free a foreign string allocated by FOREIGN-STRING-ALLOC. |
| foreign-string-to-lisp | Copy at most SIZE characters from PTR into a Lisp string. If PTR is a null pointer, returns nil. |
| foreign-symbol-pointer-or-lose | Like foreign-symbol-ptr but throws an error instead of returning nil when foreign-name is not fou... |
| foreign-var-name | Return the foreign var name of NAME. |
| free-converted-object | |
| get-alignment | Return alignment for TYPE according to ALIGNMENT-TYPE. |
| get-callback | |
| get-foreign-library | Look up a library by NAME, signalling an error if not found. |
| get-slot-info | Return the slot info for SLOT-NAME or raise an error. |
| get-var-pointer | Return a pointer to the foreign global variable relative to SYMBOL. |
| handle-load-foreign-library-error | |
| inverse-translate-objects | |
| lisp-function-name | Return the Lisp function name for foreign function NAME. |
| lisp-string-to-foreign | Copy at most SIZE-1 characters from a Lisp STRING to PTR. The foreign string will be null-termina... |
| lisp-var-name | Return the Lisp symbol for foreign var NAME. |
| load-darwin-framework | Tries to find and load a darwin framework in one of the directories in *DARWIN-FRAMEWORK-DIRECTOR... |
| load-foreign-library | Loads a foreign LIBRARY which can be a symbol denoting a library defined through DEFINE-FOREIGN-L... |
| load-foreign-library-name | Tries to load NAME using %LOAD-FOREIGN-LIBRARY which should try and find it using the OS's usual ... |
| make-foreign-bitfield | Makes a new instance of the foreign-bitfield class. |
| make-foreign-enum | Makes a new instance of the foreign-enum class. |
| make-struct-slot | Make the appropriate type of structure slot. |
| mem-aref | Like MEM-REF except for accessing 1d arrays. |
| mem-ref | Return the value of TYPE at OFFSET bytes from PTR. If TYPE is aggregate, we don't return its 'val... |
| mem-set | Set the value of TYPE at OFFSET bytes from PTR to VALUE. |
| mini-eval | Simple EVAL-like function to evaluate the elements of *FOREIGN-LIBRARY-DIRECTORIES* and *DARWIN-F... |
| notice-foreign-struct-definition | Parse and install a foreign structure definition. |
| notice-foreign-type | Inserts TYPE in the *FOREIGN-TYPES* hashtable. |
| notice-foreign-union-definition | Parse and install a foreign union definition. |
| parse-args-and-types | Returns 4 values. Types, canonicalized types, args and return type. |
| parse-type | |
| promote-varargs-type | Default argument promotions. |
| read-new-value | |
| specializedp | Answer whether GF has more than one applicable method for ARGS. |
| translate-objects | Helper function for FOREIGN-FUNCALL and DEFCFUN. |
| try-foreign-library-alternatives | Goes through a list of alternatives and only signals an error when none of alternatives were succ... |
| unparse-type | Unparse a foreign type to a symbol or list type spec. |
| aggregatep | Return true if FOREIGN-TYPE is an aggregate type. |
|---|---|
| canonicalize | Return the built-in foreign type for FOREIGN-TYPE. Signals an error if FOREIGN-TYPE is undefined. |
| expand-from-foreign | |
| expand-to-foreign | |
| expand-to-foreign-dyn | |
| expand-type-from-foreign | |
| expand-type-to-foreign | |
| expand-type-to-foreign-dyn | |
| foreign-struct-slot-pointer | Get the address of SLOT relative to PTR. |
| foreign-struct-slot-pointer-form | Return a form to get the address of SLOT in PTR. |
| foreign-struct-slot-set-form | Return a form to set the value of SLOT in struct PTR. |
| foreign-struct-slot-value | Return the value of SLOT in structure PTR. |
| foreign-struct-slot-value-form | Return a form to get the value of SLOT in struct PTR. |
| foreign-type-alignment | Return the structure alignment in bytes of a foreign type. |
| foreign-type-size | Return the size in bytes of a foreign type. |
| free-translated-object | |
| free-type-translated-object | |
| text | |
| translate-from-foreign | |
| translate-p | Return true if type translators should run on FOREIGN-TYPE. |
| translate-to-foreign | |
| translate-type-from-foreign | |
| translate-type-to-foreign | |
| unparse | Unparse FOREIGN-TYPE to a type specification (symbol or list). |
| callback | |
|---|---|
| defbitfield | Define an foreign enumerated type. |
| defcallback | |
| defcenum | Define an foreign enumerated type. |
| defcfun | Defines a Lisp function that calls a foreign function. |
| defcstruct | Define the layout of a foreign structure. |
| defctype | Utility macro for simple C-like typedefs. A similar effect could be obtained using define-foreign... |
| defcunion | Define the layout of a foreign union. |
| defcvar | Define a foreign global variable. |
| define-built-in-foreign-type | Defines a built-in foreign-type. |
| define-foreign-library | Defines a foreign library NAME that can be posteriorly used with the USE-FOREIGN-LIBRARY macro. |
| define-foreign-type | Define a parameterized type. |
| define-type-spec-parser | Define a type parser on SYMBOL and lists whose CAR is SYMBOL. |
| foreign-funcall | Wrapper around %FOREIGN-FUNCALL(-POINTER) that translates its arguments. |
| foreign-funcall-varargs | Wrapper around %FOREIGN-FUNCALL(-POINTER) that translates its arguments and does type promotion f... |
| incf-pointer | |
| use-foreign-library | |
| with-foreign-object | Bind 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-string | Like WITH-FOREIGN-POINTER except VAR as a Lisp string is used as the return value of an implicit ... |
| with-foreign-slots | Create local symbol macros for each var in VARS to reference foreign slots in PTR of TYPE. Simil... |
| with-foreign-string | Bind VAR to a foreign string containing LISP-STRING in BODY. |