The cffi Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cffi Reference Manual

This is the cffi Reference Manual, version 0.19.0, generated automatically by Declt version 2.3 "Robert April" on Tue Feb 20 07:49:57 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Build Status

CFFI, the Common Foreign Function Interface, purports to be a portable foreign function interface for Common Lisp. The CFFI library is composed of a Lisp-implementation-specific backend in the CFFI-SYS package, and a portable frontend in the CFFI package.

The CFFI-SYS backend package defines a low-level interface to the native FFI support in the Lisp implementation. It offers operators for allocating and dereferencing foreign memory, calling foreign functions, and loading shared libraries. The CFFI frontend provides a declarative interface for defining foreign functions, structures, typedefs, enumerated types, etc. It is implemented in portable ANSI CL making use of the low-level operators exported by CFFI-SYS.

Please consult the manual for further details, including installation instructions.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cffi

Maintainer

Luis Oliveira <loliveira@common-lisp.net>

Author

James Bielman <jamesjb@jamesjb.com>

License

MIT

Description

The Common Foreign Function Interface

Version

0.19.0

Dependencies
Source

cffi.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 cffi/src

Parent

cffi (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 cffi.asd

Location

cffi.asd

Systems

cffi (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 cffi/src/cffi-sbcl.lisp

Parent

src (module)

Location

src/cffi-sbcl.lisp

Packages

cffi-sys

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 cffi/src/package.lisp

Dependency

cffi-sbcl.lisp (file)

Parent

src (module)

Location

src/package.lisp

Packages

cffi


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 cffi/src/utils.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/utils.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 cffi/src/libraries.lisp

Dependency

utils.lisp (file)

Parent

src (module)

Location

src/libraries.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 cffi/src/early-types.lisp

Dependency

libraries.lisp (file)

Parent

src (module)

Location

src/early-types.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 cffi/src/types.lisp

Dependency

early-types.lisp (file)

Parent

src (module)

Location

src/types.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 cffi/src/enum.lisp

Dependency

types.lisp (file)

Parent

src (module)

Location

src/enum.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 cffi/src/strings.lisp

Dependency

enum.lisp (file)

Parent

src (module)

Location

src/strings.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 cffi/src/structures.lisp

Dependency

strings.lisp (file)

Parent

src (module)

Location

src/structures.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 cffi/src/functions.lisp

Dependency

structures.lisp (file)

Parent

src (module)

Location

src/functions.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 cffi/src/foreign-vars.lisp

Dependency

functions.lisp (file)

Parent

src (module)

Location

src/foreign-vars.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.13 cffi/src/features.lisp

Dependency

foreign-vars.lisp (file)

Parent

src (module)

Location

src/features.lisp

Packages

cffi-features

Exported Definitions

cffi-feature-p (function)


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 cffi-sys

Source

cffi-sbcl.lisp (file)

Use List
Used By List

cffi

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 cffi

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

5.3 cffi-features

Source

features.lisp (file)

Use List

common-lisp

Exported Definitions

cffi-feature-p (function)


Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *built-in-float-types*

List of real float types supported by CFFI.

Package

cffi

Source

types.lisp (file)

Special Variable: *built-in-foreign-types*
Package

cffi

Source

early-types.lisp (file)

Special Variable: *built-in-integer-types*

List of integer types supported by CFFI.

Package

cffi

Source

types.lisp (file)

Special Variable: *darwin-framework-directories*

List of directories where Frameworks are searched for.

Package

cffi

Source

libraries.lisp (file)

Special Variable: *default-foreign-encoding*

Default foreign encoding.

Package

cffi

Source

strings.lisp (file)

Special Variable: *foreign-library-directories*

List onto which user-defined library paths can be pushed.

Package

cffi

Source

libraries.lisp (file)

Special Variable: *other-builtin-types*

List of types other than integer or float built in to CFFI.

Package

cffi

Source

types.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: %defcallback NAME RETTYPE ARG-NAMES ARG-TYPES BODY &key CONVENTION
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Macro: %foreign-funcall NAME ARGS &key LIBRARY CONVENTION

Perform a foreign function call, document it more later.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Macro: %foreign-funcall-pointer PTR ARGS &key CONVENTION

Funcall a pointer to a foreign function.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Macro: callback NAME
Package

cffi

Source

functions.lisp (file)

Macro: defbitfield NAME-AND-OPTIONS &body MASKS

Define an foreign enumerated type.

Package

cffi

Source

enum.lisp (file)

Macro: defcallback NAME-AND-OPTIONS RETURN-TYPE ARGS &body BODY
Package

cffi

Source

functions.lisp (file)

Macro: defcenum NAME-AND-OPTIONS &body ENUM-LIST

Define an foreign enumerated type.

Package

cffi

Source

enum.lisp (file)

Macro: defcfun NAME-AND-OPTIONS RETURN-TYPE &body ARGS

Defines a Lisp function that calls a foreign function.

Package

cffi

Source

functions.lisp (file)

Macro: defcstruct NAME-AND-OPTIONS &body FIELDS

Define the layout of a foreign structure.

Package

cffi

Source

types.lisp (file)

Macro: defctype NAME BASE-TYPE &optional DOCUMENTATION

Utility macro for simple C-like typedefs.

Package

cffi

Source

early-types.lisp (file)

Macro: defcunion NAME-AND-OPTIONS &body FIELDS

Define the layout of a foreign union.

Package

cffi

Source

types.lisp (file)

Macro: defcvar NAME-AND-OPTIONS TYPE &optional DOCUMENTATION

Define a foreign global variable.

Package

cffi

Source

foreign-vars.lisp (file)

Macro: define-c-struct-wrapper CLASS-AND-TYPE SUPERS &optional SLOTS

Define a new class with CLOS slots matching those of a foreign struct type. An INITIALIZE-INSTANCE method is defined which takes a :POINTER initarg that is used to store the slots of a foreign object. This pointer is only used for initialization and it is not retained.

CLASS-AND-TYPE is either a list of the form (class-name struct-type) or a single symbol naming both. The class will inherit SUPERS. If a list of SLOTS is specified, only those slots will be defined and stored.

Package

cffi

Source

types.lisp (file)

Macro: define-foreign-library NAME-AND-OPTIONS &body PAIRS

Defines a foreign library NAME that can be posteriorly used with the USE-FOREIGN-LIBRARY macro.

Package

cffi

Source

libraries.lisp (file)

Macro: define-foreign-type NAME SUPERS SLOTS &rest OPTIONS
Package

cffi

Source

early-types.lisp (file)

Macro: define-parse-method NAME LAMBDA-LIST &body BODY

Define a type parser on NAME and lists whose CAR is NAME.

Package

cffi

Source

early-types.lisp (file)

Macro: define-translation-method (OBJECT TYPE METHOD) &body BODY

Define a translation method for the foreign structure type; ’method is one of :into, :from, or :to, meaning relation to foreign memory. If :into, the variable ’pointer is the foreign pointer. Note: type must be defined and loaded before this macro is expanded, and just the bare name (without :struct) should be specified.

Package

cffi

Source

structures.lisp (file)

Macro: foreign-funcall NAME-AND-OPTIONS &rest ARGS

Wrapper around %FOREIGN-FUNCALL that translates its arguments.

Package

cffi

Source

functions.lisp (file)

Macro: foreign-funcall-pointer POINTER OPTIONS &rest ARGS
Package

cffi

Source

functions.lisp (file)

Macro: incf-pointer PLACE &optional OFFSET
Package

cffi

Source

types.lisp (file)

Macro: translation-forms-for-class CLASS TYPE-CLASS

Make forms for translation of foreign structures to and from a standard class. The class slots are assumed to have the same name as the foreign structure.

Package

cffi

Source

structures.lisp (file)

Macro: use-foreign-library NAME
Package

cffi

Source

libraries.lisp (file)

Macro: with-foreign-array (VAR LISP-ARRAY ARRAY-TYPE) &body BODY

Bind var to a foreign array containing lisp-array elements in body.

Package

cffi

Source

types.lisp (file)

Macro: with-foreign-object (VAR TYPE &optional COUNT) &body BODY

Bind VAR to a pointer to COUNT objects of TYPE during BODY. The buffer has dynamic extent and may be stack allocated.

Package

cffi

Source

types.lisp (file)

Macro: with-foreign-objects BINDINGS &body BODY
Package

cffi

Source

types.lisp (file)

Macro: with-foreign-pointer (VAR SIZE &optional SIZE-VAR) &body BODY

Bind VAR to SIZE bytes of foreign memory during BODY. The pointer in VAR is invalid beyond the dynamic extent of BODY, and may be stack-allocated if supported by the implementation. If SIZE-VAR is supplied, it will be bound to SIZE during BODY.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Macro: with-foreign-pointer-as-string (VAR-OR-VARS SIZE &rest ARGS) &body BODY

VAR-OR-VARS is not evaluated and should be a list of the form (VAR &OPTIONAL SIZE-VAR) or just a VAR symbol. VAR is bound to a foreign buffer of size SIZE within BODY. The return value is constructed by calling FOREIGN-STRING-TO-LISP on the foreign buffer along with ARGS.

Package

cffi

Source

strings.lisp (file)

Macro: with-foreign-slots (VARS PTR TYPE) &body BODY

Create local symbol macros for each var in VARS to reference foreign slots in PTR of TYPE. Similar to WITH-SLOTS.
Each var can be of the form: slot-name - in which case slot-name will be bound to the value of the slot or: (:pointer slot-name) - in which case slot-name will be bound to the pointer to that slot.

Package

cffi

Source

types.lisp (file)

Macro: with-foreign-string (VAR-OR-VARS LISP-STRING &rest ARGS) &body BODY

VAR-OR-VARS is not evaluated and should be a list of the form (VAR &OPTIONAL BYTE-SIZE-VAR) or just a VAR symbol. VAR is bound to a foreign string containing LISP-STRING in BODY. When BYTE-SIZE-VAR is specified then bind the C buffer size (including the possible null terminator(s)) to this variable.

Package

cffi

Source

strings.lisp (file)

Macro: with-foreign-strings BINDINGS &body BODY

See WITH-FOREIGN-STRING’s documentation.

Package

cffi

Source

strings.lisp (file)

Macro: with-pointer-to-vector-data (PTR-VAR VECTOR) &body BODY

Bind PTR-VAR to a foreign pointer to the data in VECTOR.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Compiler macros

Compiler Macro: %mem-ref PTR TYPE &optional OFFSET
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Compiler Macro: %mem-set VALUE PTR TYPE &optional OFFSET
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Compiler Macro: convert-from-foreign VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Compiler Macro: convert-into-foreign-memory VALUE TYPE PTR
Package

cffi

Source

early-types.lisp (file)

Compiler Macro: convert-to-foreign VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Compiler Macro: foreign-alloc TYPE &rest ARGS &key COUNT &allow-other-keys
Package

cffi

Source

types.lisp (file)

Compiler Macro: foreign-bitfield-symbols TYPE VALUE

Optimize for when TYPE and SYMBOLS are constant.

Package

cffi

Source

enum.lisp (file)

Compiler Macro: foreign-bitfield-value TYPE SYMBOLS

Optimize for when TYPE and SYMBOLS are constant.

Package

cffi

Source

enum.lisp (file)

Compiler Macro: foreign-slot-pointer PTR TYPE SLOT-NAME
Package

cffi

Source

types.lisp (file)

Compiler Macro: foreign-slot-value PTR TYPE SLOT-NAME

Optimizer for FOREIGN-SLOT-VALUE when TYPE is constant.

Package

cffi

Source

types.lisp (file)

Compiler Macro: mem-aptr PTR TYPE &optional INDEX

The pointer to the element.

Package

cffi

Source

types.lisp (file)

Compiler Macro: mem-aref PTR TYPE &optional INDEX

Compiler macro to open-code MEM-AREF when TYPE (and eventually INDEX).

Package

cffi

Source

types.lisp (file)

Compiler Macro: mem-ref PTR TYPE &optional OFFSET

Compiler macro to open-code MEM-REF when TYPE is constant.

Package

cffi

Source

types.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Functions

Function: %callback NAME
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: %close-foreign-library HANDLE

Closes a foreign library.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: %foreign-alloc SIZE

Allocate SIZE bytes on the heap and return a pointer.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: %foreign-symbol-pointer NAME LIBRARY

Returns a pointer to a foreign symbol NAME.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: %foreign-type-alignment TYPE-KEYWORD

Return the alignment in bytes of a foreign type.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: %foreign-type-size TYPE-KEYWORD

Return the size in bytes of a foreign type.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: %load-foreign-library NAME PATH

Load a foreign library.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: %mem-ref PTR TYPE &optional OFFSET
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: %mem-set VALUE PTR TYPE &optional OFFSET
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: canonicalize-symbol-name-case NAME
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: cffi-feature-p FEATURE-EXPRESSION

Matches a FEATURE-EXPRESSION against those symbols in *FEATURES* that belong to the CFFI-FEATURES package.

Package

cffi-features

Source

features.lisp (file)

Function: close-foreign-library LIBRARY

Closes a foreign library.

Package

cffi

Source

libraries.lisp (file)

Function: convert-from-foreign VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Function: convert-into-foreign-memory VALUE TYPE PTR
Package

cffi

Source

early-types.lisp (file)

Function: convert-to-foreign VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Function: foreign-alloc TYPE &key INITIAL-ELEMENT INITIAL-CONTENTS COUNT NULL-TERMINATED-P

Allocate enough memory to hold COUNT objects of type TYPE. If INITIAL-ELEMENT is supplied, each element of the newly allocated memory is initialized with its value. If INITIAL-CONTENTS is supplied, each of its elements will be used to initialize the contents of the newly allocated memory.

Package

cffi

Source

types.lisp (file)

Function: foreign-aref PTR ARRAY-TYPE &rest INDEXES
Function: (setf foreign-aref) VALUE PTR ARRAY-TYPE &rest INDEXES
Package

cffi

Source

types.lisp (file)

Function: foreign-array-alloc ARRAY ARRAY-TYPE

Allocate a foreign array containing the elements of lisp array. The foreign array must be freed with foreign-array-free.

Package

cffi

Source

types.lisp (file)

Function: foreign-array-free PTR

Free a foreign array allocated by foreign-array-alloc.

Package

cffi

Source

types.lisp (file)

Function: foreign-array-to-lisp POINTER ARRAY-TYPE

Copy elements from ptr into a Lisp array. If POINTER is a null pointer, returns NIL.

Package

cffi

Source

types.lisp (file)

Function: foreign-bitfield-symbol-list BITFIELD-TYPE

Return a list of SYMBOLS defined in BITFIELD-TYPE.

Package

cffi

Source

enum.lisp (file)

Function: foreign-bitfield-symbols TYPE VALUE

Convert an integer VALUE into a list of matching symbols according to the bitfield TYPE.

Package

cffi

Source

enum.lisp (file)

Function: foreign-bitfield-value TYPE SYMBOLS

Convert a list of symbols into an integer according to the TYPE bitfield.

Package

cffi

Source

enum.lisp (file)

Function: foreign-enum-keyword TYPE VALUE &key ERRORP

Convert an integer VALUE into a keyword according to the enum TYPE.

Package

cffi

Source

enum.lisp (file)

Function: foreign-enum-keyword-list ENUM-TYPE

Return a list of KEYWORDS defined in ENUM-TYPE.

Package

cffi

Source

enum.lisp (file)

Function: foreign-enum-value TYPE KEYWORD &key ERRORP

Convert a KEYWORD into an integer according to the enum TYPE.

Package

cffi

Source

enum.lisp (file)

Function: foreign-free PTR

Free a PTR allocated by FOREIGN-ALLOC.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: foreign-library-loaded-p LIB
Package

cffi

Source

libraries.lisp (file)

Function: foreign-library-pathname LIB
Package

cffi

Source

libraries.lisp (file)

Function: foreign-library-type LIB
Package

cffi

Source

libraries.lisp (file)

Function: foreign-slot-count TYPE SLOT-NAME

Return the number of items in SLOT in a struct TYPE.

Package

cffi

Source

types.lisp (file)

Function: foreign-slot-names TYPE

Returns a list of TYPE’s slot names in no particular order.

Package

cffi

Source

types.lisp (file)

Function: foreign-slot-offset TYPE SLOT-NAME

Return the offset of SLOT in a struct TYPE.

Package

cffi

Source

types.lisp (file)

Function: foreign-slot-pointer PTR TYPE SLOT-NAME

Return the address of SLOT-NAME in the structure at PTR.

Package

cffi

Source

types.lisp (file)

Function: foreign-slot-type TYPE SLOT-NAME

Return the type of SLOT in a struct TYPE.

Package

cffi

Source

types.lisp (file)

Function: foreign-slot-value PTR TYPE SLOT-NAME

Return the value of SLOT-NAME in the foreign structure at PTR.

Package

cffi

Source

types.lisp (file)

Setf Expander

(setf foreign-slot-value) (setf expander)

Setf Expander: (setf foreign-slot-value) PTR TYPE SLOT-NAME

SETF expander for FOREIGN-SLOT-VALUE.

Package

cffi

Source

types.lisp (file)

Reader

foreign-slot-value (function)

Function: foreign-string-alloc STRING &key ENCODING NULL-TERMINATED-P START END

Allocate a foreign string containing Lisp string STRING. The string must be freed with FOREIGN-STRING-FREE.

Package

cffi

Source

strings.lisp (file)

Function: foreign-string-free PTR

Free a foreign string allocated by FOREIGN-STRING-ALLOC.

Package

cffi

Source

strings.lisp (file)

Function: foreign-string-to-lisp POINTER &key OFFSET COUNT MAX-CHARS ENCODING

Copy at most COUNT bytes from POINTER plus OFFSET encoded in ENCODING into a Lisp string and return it. If POINTER is a null pointer, NIL is returned.

Package

cffi

Source

strings.lisp (file)

Function: foreign-symbol-pointer NAME &key LIBRARY
Package

cffi

Source

foreign-vars.lisp (file)

Function: free-converted-object VALUE TYPE PARAM
Package

cffi

Source

early-types.lisp (file)

Function: get-callback SYMBOL
Package

cffi

Source

functions.lisp (file)

Function: get-var-pointer SYMBOL

Return a pointer to the foreign global variable relative to SYMBOL.

Package

cffi

Source

foreign-vars.lisp (file)

Function: inc-pointer PTR OFFSET

Return a pointer pointing OFFSET bytes past PTR.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: lisp-array-to-foreign ARRAY POINTER ARRAY-TYPE

Copy elements from a Lisp array to POINTER.

Package

cffi

Source

types.lisp (file)

Function: lisp-string-to-foreign STRING BUFFER BUFSIZE &key START END OFFSET ENCODING
Package

cffi

Source

strings.lisp (file)

Function: list-foreign-libraries &key LOADED-ONLY TYPE

Return a list of defined foreign libraries.
If LOADED-ONLY is non-null only loaded libraries are returned. TYPE restricts the output to a specific library type: if NIL all libraries are returned.

Package

cffi

Source

libraries.lisp (file)

Function: load-foreign-library LIBRARY &key SEARCH-PATH

Loads a foreign LIBRARY which can be a symbol denoting a library defined through DEFINE-FOREIGN-LIBRARY; a pathname or string in which case we try to load it directly first then search for it in *FOREIGN-LIBRARY-DIRECTORIES*; or finally list: either (:or lib1 lib2) or (:framework <framework-name>).

Package

cffi

Source

libraries.lisp (file)

Function: make-pointer ADDRESS

Return a pointer pointing to ADDRESS.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: make-shareable-byte-vector SIZE

Create a Lisp vector of SIZE bytes can passed to WITH-POINTER-TO-VECTOR-DATA.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: mem-aptr PTR TYPE &optional INDEX

The pointer to the element.

Package

cffi

Source

types.lisp (file)

Function: mem-aref PTR TYPE &optional INDEX

Like MEM-REF except for accessing 1d arrays.

Package

cffi

Source

types.lisp (file)

Setf Expander

(setf mem-aref) (setf expander)

Setf Expander: (setf mem-aref) PTR TYPE &optional INDEX

SETF expander for MEM-AREF.

Package

cffi

Source

types.lisp (file)

Reader

mem-aref (function)

Function: mem-ref PTR TYPE &optional OFFSET

Return the value of TYPE at OFFSET bytes from PTR. If TYPE is aggregate, we don’t return its ’value’ but a pointer to it, which is PTR itself.

Package

cffi

Source

types.lisp (file)

Setf Expander

(setf mem-ref) (setf expander)

Setf Expander: (setf mem-ref) PTR TYPE &optional OFFSET

SETF expander for MEM-REF that doesn’t rebind TYPE.
This is necessary for the compiler macro on MEM-SET to be able to open-code (SETF MEM-REF) forms.

Package

cffi

Source

types.lisp (file)

Reader

mem-ref (function)

Function: native-namestring PATHNAME
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: null-pointer ()

Construct and return a null pointer.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: null-pointer-p PTR

Return true if PTR is a null pointer.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: pointer-address PTR

Return the address pointed to by PTR.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: pointer-eq PTR1 PTR2

Return true if PTR1 and PTR2 point to the same address.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: pointerp PTR

Return true if PTR is a foreign pointer.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: reload-foreign-libraries &key TEST

(Re)load all currently loaded foreign libraries.

Package

cffi

Source

libraries.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Generic functions

Generic Function: expand-from-foreign VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Methods
Method: expand-from-foreign VALUE (TYPE foreign-bitfield)
Source

enum.lisp (file)

Method: expand-from-foreign VALUE (TYPE foreign-boolean-type)

Optimization for the :boolean type.

Source

types.lisp (file)

Method: expand-from-foreign VALUE (TYPE enhanced-typedef)
Method: expand-from-foreign VALUE (TYPE translatable-foreign-type)
Method: expand-from-foreign VALUE (TYPE translatable-foreign-type) around
Method: expand-from-foreign VALUE TYPE
Generic Function: expand-into-foreign-memory VALUE TYPE PTR
Package

cffi

Source

early-types.lisp (file)

Methods
Method: expand-into-foreign-memory VALUE (TYPE enhanced-typedef) PTR
Method: expand-into-foreign-memory VALUE (TYPE translatable-foreign-type) PTR
Method: expand-into-foreign-memory VALUE (TYPE translatable-foreign-type) PTR around
Method: expand-into-foreign-memory VALUE TYPE PTR
Generic Function: expand-to-foreign VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Methods
Method: expand-to-foreign VALUE (TYPE foreign-bitfield)
Source

enum.lisp (file)

Method: expand-to-foreign VALUE (TYPE foreign-enum)
Source

enum.lisp (file)

Method: expand-to-foreign VALUE (TYPE foreign-boolean-type)

Optimization for the :boolean type.

Source

types.lisp (file)

Method: expand-to-foreign VALUE (TYPE enhanced-typedef)
Method: expand-to-foreign VALUE (TYPE translatable-foreign-type)
Method: expand-to-foreign VALUE (TYPE translatable-foreign-type) around
Method: expand-to-foreign VALUE TYPE
Generic Function: expand-to-foreign-dyn VALUE VAR BODY TYPE
Package

cffi

Source

early-types.lisp (file)

Methods
Method: expand-to-foreign-dyn VALUE VAR BODY (TYPE enhanced-typedef)
Method: expand-to-foreign-dyn VALUE VAR BODY (TYPE enhanced-foreign-type)
Method: expand-to-foreign-dyn VALUE VAR BODY (TYPE enhanced-foreign-type) around
Method: expand-to-foreign-dyn VALUE VAR BODY TYPE
Generic Function: foreign-library-name OBJECT
Generic Function: (setf foreign-library-name) NEW-VALUE OBJECT
Package

cffi

Methods
Method: foreign-library-name (FOREIGN-LIBRARY foreign-library)

automatically generated reader method

Source

libraries.lisp (file)

Method: (setf foreign-library-name) NEW-VALUE (FOREIGN-LIBRARY foreign-library)

automatically generated writer method

Source

libraries.lisp (file)

Generic Function: foreign-type-alignment FOREIGN-TYPE

Return the structure alignment in bytes of a foreign type.

Package

cffi

Source

early-types.lisp (file)

Methods
Method: foreign-type-alignment TYPE

Return the alignment in bytes of a foreign type.

Source

types.lisp (file)

Method: foreign-type-alignment (TYPE foreign-array-type)
Source

types.lisp (file)

Method: foreign-type-alignment (TYPE foreign-type-alias)

Return the alignment of a foreign typedef.

Method: foreign-type-alignment (TYPE foreign-struct-type)

Return the alignment requirements for this struct.

Method: foreign-type-alignment (TYPE foreign-built-in-type)

Return the alignment of a built-in type.

Generic Function: foreign-type-size FOREIGN-TYPE

Return the size in bytes of a foreign type.

Package

cffi

Source

early-types.lisp (file)

Methods
Method: foreign-type-size (TYPE foreign-array-type)
Source

types.lisp (file)

Method: foreign-type-size (TYPE foreign-type-alias)

Return the size in bytes of a foreign typedef.

Method: foreign-type-size (TYPE foreign-struct-type)

Return the size in bytes of a foreign structure type.

Method: foreign-type-size (TYPE foreign-built-in-type)

Return the size of a built-in type.

Method: foreign-type-size TYPE

Return the size in bytes of a foreign type.

Generic Function: free-translated-object VALUE TYPE PARAM
Package

cffi

Source

early-types.lisp (file)

Methods
Method: free-translated-object PTR (TYPE foreign-struct-type) FREEP
Source

structures.lisp (file)

Method: free-translated-object PTR (TYPE foreign-string-type) FREE-P
Source

strings.lisp (file)

Method: free-translated-object POINTER (TYPE foreign-array-type) PARAM
Source

types.lisp (file)

Method: free-translated-object VALUE (TYPE enhanced-typedef) PARAM
Method: free-translated-object VALUE TYPE PARAM
Generic Function: translate-camelcase-name NAME &key UPPER-INITIAL-P SPECIAL-WORDS
Package

cffi

Source

functions.lisp (file)

Methods
Method: translate-camelcase-name (NAME string) &key UPPER-INITIAL-P SPECIAL-WORDS
Method: translate-camelcase-name (NAME symbol) &key UPPER-INITIAL-P SPECIAL-WORDS
Generic Function: translate-from-foreign VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Methods
Method: translate-from-foreign P (TYPE foreign-struct-type)
Source

structures.lisp (file)

Method: translate-from-foreign VALUE (TYPE foreign-string+ptr-type)
Source

strings.lisp (file)

Method: translate-from-foreign PTR (TYPE foreign-string-type)
Source

strings.lisp (file)

Method: translate-from-foreign VALUE (TYPE foreign-bitfield)
Source

enum.lisp (file)

Method: translate-from-foreign VALUE (TYPE foreign-enum)
Source

enum.lisp (file)

Method: translate-from-foreign VALUE (TYPE foreign-boolean-type)
Source

types.lisp (file)

Method: translate-from-foreign VALUE (TYPE foreign-type-wrapper)
Source

types.lisp (file)

Method: translate-from-foreign POINTER (TYPE foreign-array-type)
Source

types.lisp (file)

Method: translate-from-foreign VALUE (TYPE enhanced-typedef)
Method: translate-from-foreign VALUE TYPE
Generic Function: translate-into-foreign-memory VALUE TYPE POINTER

Translate the Lisp value into the foreign memory location given by pointer. Return value is not used.

Package

cffi

Source

early-types.lisp (file)

Methods
Method: translate-into-foreign-memory (OBJECT list) (TYPE foreign-struct-type) P
Source

structures.lisp (file)

Method: translate-into-foreign-memory VALUE (TYPE foreign-enum) POINTER
Source

enum.lisp (file)

Method: translate-into-foreign-memory VALUE (TYPE foreign-built-in-type) POINTER
Source

types.lisp (file)

Method: translate-into-foreign-memory VALUE (TYPE foreign-pointer-type) POINTER
Source

types.lisp (file)

Method: translate-into-foreign-memory VALUE (TYPE enhanced-typedef) POINTER
Generic Function: translate-name-from-foreign FOREIGN-NAME PACKAGE &optional VARP
Package

cffi

Source

functions.lisp (file)

Methods
Method: translate-name-from-foreign FOREIGN-NAME PACKAGE &optional VARP
Generic Function: translate-name-to-foreign LISP-NAME PACKAGE &optional VARP
Package

cffi

Source

functions.lisp (file)

Methods
Method: translate-name-to-foreign LISP-NAME PACKAGE &optional VARP
Generic Function: translate-to-foreign VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Methods
Method: translate-to-foreign VALUE (TYPE foreign-struct-type)
Source

structures.lisp (file)

Method: translate-to-foreign OBJ (TYPE foreign-string-type)
Source

strings.lisp (file)

Method: translate-to-foreign (S string) (TYPE foreign-string-type)
Source

strings.lisp (file)

Method: translate-to-foreign VALUE (TYPE foreign-bitfield)
Source

enum.lisp (file)

Method: translate-to-foreign VALUE (TYPE foreign-enum)
Source

enum.lisp (file)

Method: translate-to-foreign VALUE (TYPE foreign-boolean-type)
Source

types.lisp (file)

Method: translate-to-foreign VALUE (TYPE foreign-type-wrapper)
Source

types.lisp (file)

Method: translate-to-foreign ARRAY (TYPE foreign-array-type)
Source

types.lisp (file)

Method: translate-to-foreign VALUE (TYPE enhanced-typedef)
Method: translate-to-foreign VALUE TYPE
Generic Function: translate-underscore-separated-name NAME
Package

cffi

Source

functions.lisp (file)

Methods
Method: translate-underscore-separated-name (NAME string)
Method: translate-underscore-separated-name (NAME symbol)

Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Conditions

Condition: load-foreign-library-error ()
Package

cffi

Source

libraries.lisp (file)

Direct superclasses

simple-error (condition)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.7 Classes

Class: foreign-library ()
Package

cffi

Source

libraries.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

foreign-library-name (generic function)

Writers

(setf foreign-library-name) (generic function)

Slot: type
Initargs

:type

Initform

:system

Slot: spec
Initargs

:spec

Slot: options
Initargs

:options

Slot: handle
Initargs

:handle

Readers

foreign-library-handle (generic function)

Writers

(setf foreign-library-handle) (generic function)

Slot: pathname

Previous: , Up: Exported definitions   [Contents][Index]

6.1.8 Types

Type: foreign-pointer ()
Package

cffi-sys

Source

cffi-sbcl.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Special variables

Special Variable: *callbacks*
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Special Variable: *cffi-feature-suffix-map*

Mapping of OS feature keywords to shared library suffixes.

Package

cffi

Source

libraries.lisp (file)

Special Variable: *defcstruct-hook*
Package

cffi

Source

types.lisp (file)

Special Variable: *foreign-libraries*

Hashtable of defined libraries.

Package

cffi

Source

libraries.lisp (file)

Special Variable: *foreign-string-mappings*
Package

cffi

Source

strings.lisp (file)

Special Variable: *foreign-structures-by-value*

A function that produces a form suitable for calling structures by value.

Package

cffi

Source

functions.lisp (file)

Special Variable: *possible-float-types*
Package

cffi

Source

types.lisp (file)

Special Variable: *runtime-translator-form*
Package

cffi

Source

early-types.lisp (file)

Special Variable: *type-parsers*

Hash table of defined type parsers.

Package

cffi

Source

early-types.lisp (file)

Special Variable: +valid-enum-base-types+
Package

cffi

Source

enum.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Macros

Macro: %%foreign-funcall NAME TYPES FARGS RETTYPE

Internal guts of %FOREIGN-FUNCALL.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Macro: %foreign-string-length PTR OFFSET TYPE LENGTH
Package

cffi

Source

strings.lisp (file)

Macro: bget PTR OFF &optional BYTES ENDIANNESS
Package

cffi

Source

strings.lisp (file)

Macro: bset VAL PTR OFF &optional BYTES ENDIANNESS
Package

cffi

Source

strings.lisp (file)

Macro: defctype* NAME BASE-TYPE

Like DEFCTYPE but defers instantiation until parse-time.

Package

cffi

Source

early-types.lisp (file)

Macro: define-built-in-foreign-type KEYWORD

Defines a built-in foreign-type.

Package

cffi

Source

early-types.lisp (file)

Macro: define-mem-accessors &body PAIRS
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Macro: define-type-mapping ACCESSOR-TABLE ALIEN-TABLE
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Macro: discard-docstring BODY-VAR &optional FORCE

Discards the first element of the list in body-var if it’s a string and the only element (or if FORCE is T).

Package

cffi

Source

utils.lisp (file)

Macro: foreign-funcall-pointer-varargs POINTER OPTIONS FIXED-ARGS &rest VARARGS

Wrapper around %FOREIGN-FUNCALL-POINTER that translates its arguments and does type promotion for the variadic arguments.

Package

cffi

Source

functions.lisp (file)

Macro: foreign-funcall-varargs NAME-AND-OPTIONS FIXED-ARGS &rest VARARGS

Wrapper around %FOREIGN-FUNCALL that translates its arguments and does type promotion for the variadic arguments.

Package

cffi

Source

functions.lisp (file)

Macro: with-tentative-type-definition (NAME VALUE NAMESPACE) &body BODY
Package

cffi

Source

types.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Compiler macros

Compiler Macro: foreign-slot-set VALUE PTR TYPE SLOT-NAME

Optimizer when TYPE and SLOT-NAME are constant.

Package

cffi

Source

types.lisp (file)

Compiler Macro: mem-set VALUE PTR TYPE &optional OFFSET

Compiler macro to open-code (SETF MEM-REF) when type is constant.

Package

cffi

Source

types.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Functions

Function: %defcenum-like NAME-AND-OPTIONS ENUM-LIST TYPE-FACTORY
Package

cffi

Source

enum.lisp (file)

Function: %defcfun LISP-NAME FOREIGN-NAME RETURN-TYPE ARGS OPTIONS DOCSTRING
Package

cffi

Source

functions.lisp (file)

Function: %defcfun-varargs LISP-NAME FOREIGN-NAME RETURN-TYPE ARGS OPTIONS DOC
Package

cffi

Source

functions.lisp (file)

Function: %do-load-foreign-library LIBRARY SEARCH-PATH
Package

cffi

Source

libraries.lisp (file)

Function: %foreign-bitfield-symbols TYPE VALUE
Package

cffi

Source

enum.lisp (file)

Function: %foreign-bitfield-value TYPE SYMBOLS
Package

cffi

Source

enum.lisp (file)

Function: %foreign-enum-keyword TYPE VALUE &key ERRORP
Package

cffi

Source

enum.lisp (file)

Function: %foreign-enum-value TYPE KEYWORD &key ERRORP
Package

cffi

Source

enum.lisp (file)

Function: %foreign-library-spec LIB
Package

cffi

Source

libraries.lisp (file)

Function: %parse-name-and-options SPEC VARP
Package

cffi

Source

functions.lisp (file)

Function: adjust-for-alignment TYPE OFFSET ALIGNMENT-TYPE FIRSTP

Return OFFSET aligned properly for TYPE according to ALIGNMENT-TYPE.

Package

cffi

Source

types.lisp (file)

Function: array-element-size ARRAY-TYPE
Package

cffi

Source

types.lisp (file)

Function: canonicalize-foreign-type TYPE

Convert TYPE to a built-in type by following aliases. Signals an error if the type cannot be resolved.

Package

cffi

Source

early-types.lisp (file)

Function: check-for-typedef-cycles TYPE
Package

cffi

Source

early-types.lisp (file)

Function: check-prefix L SPECIAL-WORDS
Package

cffi

Source

functions.lisp (file)

Function: clean-spec-up SPEC
Package

cffi

Source

libraries.lisp (file)

Function: collapse-prefix L SPECIAL-WORDS
Package

cffi

Source

functions.lisp (file)

Function: convert-foreign-type TYPE-KEYWORD
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: darwin-fallback-library-path ()
Package

cffi

Source

libraries.lisp (file)

Function: default-library-suffix ()

Return a string to use as default library suffix based on the operating system. This is used to implement the :DEFAULT option. This will need to be extended as we test on more OSes.

Package

cffi

Source

libraries.lisp (file)

Function: defcfun-helper-forms NAME LISP-NAME RETTYPE ARGS TYPES OPTIONS
Package

cffi

Source

functions.lisp (file)

Function: ensure-parsed-base-type TYPE
Package

cffi

Source

early-types.lisp (file)

Function: explode-path-environment-variable NAME
Package

cffi

Source

libraries.lisp (file)

Function: fallback-darwin-framework-directories ()
Package

cffi

Source

libraries.lisp (file)

Function: filter-pathname THING
Package

cffi

Source

libraries.lisp (file)

Function: find-darwin-framework FRAMEWORK-NAME

Searches for FRAMEWORK-NAME in *DARWIN-FRAMEWORK-DIRECTORIES*.

Package

cffi

Source

libraries.lisp (file)

Function: find-file PATH DIRECTORIES

Searches for PATH in a list of DIRECTORIES and returns the first it finds.

Package

cffi

Source

libraries.lisp (file)

Function: find-type-parser SYMBOL &optional NAMESPACE

Return the type parser for SYMBOL. NAMESPACE is either :DEFAULT (for variables, functions, and typedefs) or :STRUCT (for structs, unions, and enums).

Package

cffi

Source

early-types.lisp (file)

Writer

(setf find-type-parser) (function)

Function: (setf find-type-parser) FUNC SYMBOL &optional NAMESPACE

Set the type parser for SYMBOL.

Package

cffi

Source

early-types.lisp (file)

Reader

find-type-parser (function)

Function: fl-error CONTROL &rest ARGUMENTS
Package

cffi

Source

libraries.lisp (file)

Function: fn-call-by-value-p ARGUMENT-TYPES RETURN-TYPE

One or more structures in the arguments or return from the function are called by value.

Package

cffi

Source

functions.lisp (file)

Function: follow-typedefs TYPE
Package

cffi

Source

early-types.lisp (file)

Function: foreign-expand-runtime-translator-or-binding VALUE VAR BODY TYPE
Package

cffi

Source

early-types.lisp (file)

Function: foreign-funcall-form THING OPTIONS ARGS POINTERP
Package

cffi

Source

functions.lisp (file)

Function: foreign-funcall-type-and-args ARGS

Return an SB-ALIEN function type for ARGS.

Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: foreign-funcall-varargs-form THING OPTIONS FIXED-ARGS VARARGS POINTERP
Package

cffi

Source

functions.lisp (file)

Function: foreign-library-options LIB
Package

cffi

Source

libraries.lisp (file)

Function: foreign-library-search-path LIB
Package

cffi

Source

libraries.lisp (file)

Function: foreign-library-spec LIB
Package

cffi

Source

libraries.lisp (file)

Function: foreign-name SPEC VARP
Package

cffi

Source

functions.lisp (file)

Function: foreign-options OPTS VARP
Package

cffi

Source

functions.lisp (file)

Function: foreign-slot-set VALUE PTR TYPE SLOT-NAME

Set the value of SLOT-NAME in a foreign structure.

Package

cffi

Source

types.lisp (file)

Function: foreign-string-length POINTER &key ENCODING OFFSET
Package

cffi

Source

strings.lisp (file)

Function: foreign-type-error/compound-name E
Package

cffi

Source

early-types.lisp (file)

Function: fs-pointer-or-lose FOREIGN-NAME LIBRARY

Like foreign-symbol-ptr but throws an error instead of returning nil when foreign-name is not found.

Package

cffi

Source

foreign-vars.lisp (file)

Function: fst-encoding TYPE
Package

cffi

Source

strings.lisp (file)

Function: generate-struct-accessors NAME CONC-NAME SLOT-NAMES
Package

cffi

Source

types.lisp (file)

Function: get-alignment TYPE ALIGNMENT-TYPE FIRSTP

Return alignment for TYPE according to ALIGNMENT-TYPE.

Package

cffi

Source

types.lisp (file)

Function: get-foreign-library LIB

Look up a library by NAME, signalling an error if not found.

Package

cffi

Source

libraries.lisp (file)

Writer

(setf get-foreign-library) (function)

Function: (setf get-foreign-library) VALUE NAME
Package

cffi

Source

libraries.lisp (file)

Reader

get-foreign-library (function)

Function: get-slot-info TYPE SLOT-NAME

Return the slot info for SLOT-NAME or raise an error.

Package

cffi

Source

types.lisp (file)

Function: hash-keys-to-list HT
Package

cffi

Source

enum.lisp (file)

Function: indexes-to-row-major-index DIMENSIONS &rest SUBSCRIPTS
Package

cffi

Source

types.lisp (file)

Function: inverse-translate-objects ARGS TYPES DECLARATIONS RETTYPE CALL
Package

cffi

Source

functions.lisp (file)

Function: lisp-name SPEC VARP
Package

cffi

Source

functions.lisp (file)

Function: lisp-name-p NAME
Package

cffi

Source

functions.lisp (file)

Function: load-darwin-framework NAME FRAMEWORK-NAME

Tries to find and load a darwin framework in one of the directories in *DARWIN-FRAMEWORK-DIRECTORIES*. If unable to find FRAMEWORK-NAME, it signals a LOAD-FOREIGN-LIBRARY-ERROR.

Package

cffi

Source

libraries.lisp (file)

Function: load-foreign-library-helper NAME THING &optional SEARCH-PATH
Package

cffi

Source

libraries.lisp (file)

Function: load-foreign-library-path NAME PATH &optional SEARCH-PATH

Tries to load PATH using %LOAD-FOREIGN-LIBRARY which should try and find it using the OS’s usual methods. If that fails we try to find it ourselves.

Package

cffi

Source

libraries.lisp (file)

Function: make-foreign-bitfield TYPE-NAME BASE-TYPE VALUES

Makes a new instance of the foreign-bitfield class.

Package

cffi

Source

enum.lisp (file)

Function: make-foreign-enum TYPE-NAME BASE-TYPE VALUES

Makes a new instance of the foreign-enum class.

Package

cffi

Source

enum.lisp (file)

Function: make-struct-slot NAME OFFSET TYPE COUNT

Make the appropriate type of structure slot.

Package

cffi

Source

types.lisp (file)

Function: mem-set VALUE PTR TYPE &optional OFFSET

Set the value of TYPE at OFFSET bytes from PTR to VALUE.

Package

cffi

Source

types.lisp (file)

Function: mini-eval FORM

Simple EVAL-like function to evaluate the elements of *FOREIGN-LIBRARY-DIRECTORIES* and *DARWIN-FRAMEWORK-DIRECTORIES*.

Package

cffi

Source

libraries.lisp (file)

Function: notice-foreign-struct-definition NAME OPTIONS SLOTS

Parse and install a foreign structure definition.

Package

cffi

Source

types.lisp (file)

Function: notice-foreign-type NAME TYPE &optional NAMESPACE
Package

cffi

Source

early-types.lisp (file)

Function: notice-foreign-union-definition NAME-AND-OPTIONS SLOTS

Parse and install a foreign union definition.

Package

cffi

Source

types.lisp (file)

Function: null-terminator-len ENCODING
Package

cffi

Source

strings.lisp (file)

Function: parse-args-and-types ARGS

Returns 4 values: types, canonicalized types, args and return type.

Package

cffi

Source

functions.lisp (file)

Function: parse-defcallback-options OPTIONS
Package

cffi

Source

functions.lisp (file)

Function: parse-defcvar-options OPTIONS
Package

cffi

Source

foreign-vars.lisp (file)

Function: parse-deprecated-struct-type NAME STRUCT-OR-UNION
Package

cffi

Source

types.lisp (file)

Function: parse-directories LIST
Package

cffi

Source

libraries.lisp (file)

Function: parse-foreign-enum-like TYPE-NAME BASE-TYPE VALUES &optional FIELD-MODE-P
Package

cffi

Source

enum.lisp (file)

Function: parse-function-options OPTIONS &key POINTER
Package

cffi

Source

functions.lisp (file)

Function: parse-name-and-options SPEC &optional VARP
Package

cffi

Source

functions.lisp (file)

Function: parse-type TYPE
Package

cffi

Source

early-types.lisp (file)

Function: promote-varargs-type BUILTIN-TYPE

Default argument promotions.

Package

cffi

Source

functions.lisp (file)

Function: read-new-value ()
Package

cffi

Source

libraries.lisp (file)

Function: register-foreign-library NAME SPEC &rest OPTIONS
Package

cffi

Source

libraries.lisp (file)

Function: report-simple-error NAME ERROR
Package

cffi

Source

libraries.lisp (file)

Function: row-major-index-to-indexes INDEX DIMENSIONS
Package

cffi

Source

types.lisp (file)

Function: simple-foreign-type-error TYPE-NAME NAMESPACE FORMAT-CONTROL &rest FORMAT-ARGUMENTS
Package

cffi

Source

early-types.lisp (file)

Function: single-bit-p INTEGER

Answer whether INTEGER, which must be an integer, is a single set twos-complement bit.

Package

cffi

Source

utils.lisp (file)

Function: slots-in-order STRUCTURE-TYPE

A list of the structure’s slots in order.

Package

cffi

Source

early-types.lisp (file)

Function: split-if TEST SEQ &optional DIR
Package

cffi

Source

utils.lisp (file)

Function: structure-by-value-p CTYPE

A structure or union is to be called or returned by value.

Package

cffi

Source

functions.lisp (file)

Function: structure-slots TYPE

The hash table of slots for the structure type.

Package

cffi

Source

early-types.lisp (file)

Function: translate-objects SYMS ARGS TYPES RETTYPE CALL-FORM &optional INDIRECT

Helper function for FOREIGN-FUNCALL and DEFCFUN. If ’indirect is T, all arguments are represented by foreign pointers, even those that can be represented by CL objects.

Package

cffi

Source

functions.lisp (file)

Function: try-foreign-library-alternatives NAME LIBRARY-LIST &optional SEARCH-PATH

Goes through a list of alternatives and only signals an error when none of alternatives were successfully loaded.

Package

cffi

Source

libraries.lisp (file)

Function: undefine-foreign-type SYMBOL &optional NAMESPACE
Package

cffi

Source

early-types.lisp (file)

Function: undefined-foreign-type-error TYPE-NAME &optional NAMESPACE
Package

cffi

Source

early-types.lisp (file)

Function: unload-shared-object-present-p ()
Package

cffi-sys

Source

cffi-sbcl.lisp (file)

Function: warn-if-kw-or-belongs-to-cl NAME
Package

cffi

Source

utils.lisp (file)

Function: warn-obsolete-argument OLD-ARG NEW-ARG
Package

cffi

Source

utils.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Generic functions

Generic Function: actual-type OBJECT
Generic Function: (setf actual-type) NEW-VALUE OBJECT
Package

cffi

Methods
Method: actual-type (FOREIGN-TYPE-ALIAS foreign-type-alias)

automatically generated reader method

Source

early-types.lisp (file)

Method: (setf actual-type) NEW-VALUE (FOREIGN-TYPE-ALIAS foreign-type-alias)

automatically generated writer method

Source

early-types.lisp (file)

Generic Function: aggregatep FOREIGN-TYPE

Return true if FOREIGN-TYPE is an aggregate type.

Package

cffi

Source

early-types.lisp (file)

Methods
Method: aggregatep (TYPE foreign-array-type)
Source

types.lisp (file)

Method: aggregatep (TYPE foreign-type-alias)

Return true if TYPE’s actual type is aggregate.

Method: aggregatep (TYPE foreign-struct-type)

Returns true, structure types are aggregate.

Method: aggregatep (TYPE foreign-built-in-type)

Returns false, built-in types are never aggregate types.

Generic Function: alignment OBJECT
Generic Function: (setf alignment) NEW-VALUE OBJECT
Package

cffi

Methods
Method: alignment (FOREIGN-STRUCT-TYPE foreign-struct-type)

automatically generated reader method

Source

early-types.lisp (file)

Method: (setf alignment) NEW-VALUE (FOREIGN-STRUCT-TYPE foreign-struct-type)

automatically generated writer method

Source

early-types.lisp (file)

Generic Function: bare-struct-type-p FOREIGN-TYPE

Return true if FOREIGN-TYPE is a bare struct type or an alias of a bare struct type.

Package

cffi

Source

early-types.lisp (file)

Methods
Method: bare-struct-type-p (TYPE foreign-typedef)
Method: bare-struct-type-p (FOREIGN-STRUCT-TYPE foreign-struct-type)

automatically generated reader method

Method: bare-struct-type-p (TYPE foreign-type)

Return true if FOREIGN-TYPE is a bare struct type or an alias of a bare struct type.

Generic Function: bit-index->keyword OBJECT
Package

cffi

Methods
Method: bit-index->keyword (FOREIGN-BITFIELD foreign-bitfield)

automatically generated reader method

Source

enum.lisp (file)

Generic Function: canonicalize FOREIGN-TYPE

Return the most primitive foreign type for FOREIGN-TYPE, either a built-in type–a keyword–or a struct/union type–a list of the form (:STRUCT/:UNION name). Signals an error if FOREIGN-TYPE is undefined.

Package

cffi

Source

early-types.lisp (file)

Methods
Method: canonicalize (TYPE foreign-type-alias)

Return the built-in type keyword for TYPE.

Method: canonicalize (TYPE foreign-union-type)
Method: canonicalize (TYPE foreign-struct-type)
Method: canonicalize (TYPE foreign-built-in-type)

Return the built-in type keyword for TYPE.

Generic Function: dimensions OBJECT
Package

cffi

Methods
Method: dimensions (FOREIGN-ARRAY-TYPE foreign-array-type)

automatically generated reader method

Source

types.lisp (file)

Generic Function: element-type OBJECT
Package

cffi

Methods
Method: element-type (FOREIGN-ARRAY-TYPE foreign-array-type)

automatically generated reader method

Source

types.lisp (file)

Generic Function: encoding OBJECT
Package

cffi

Methods
Method: encoding (FOREIGN-STRING-TYPE foreign-string-type)

automatically generated reader method

Source

strings.lisp (file)

Generic Function: expand-to-foreign-dyn-indirect VALUE VAR BODY TYPE
Package

cffi

Source

early-types.lisp (file)

Methods
Method: expand-to-foreign-dyn-indirect VALUE VAR BODY (TYPE foreign-string-type)
Source

strings.lisp (file)

Method: expand-to-foreign-dyn-indirect VALUE VAR BODY (TYPE foreign-enum)
Source

enum.lisp (file)

Method: expand-to-foreign-dyn-indirect VALUE VAR BODY (TYPE foreign-type-alias)
Method: expand-to-foreign-dyn-indirect VALUE VAR BODY (TYPE translatable-foreign-type)
Method: expand-to-foreign-dyn-indirect VALUE VAR BODY (TYPE foreign-built-in-type)
Method: expand-to-foreign-dyn-indirect VALUE VAR BODY (TYPE foreign-pointer-type)
Method: expand-to-foreign-dyn-indirect VALUE VAR BODY (TYPE translatable-foreign-type) around
Method: expand-to-foreign-dyn-indirect VALUE VAR BODY TYPE
Generic Function: field-keywords OBJECT
Package

cffi

Methods
Method: field-keywords (FOREIGN-BITFIELD foreign-bitfield)

automatically generated reader method

Source

enum.lisp (file)

Generic Function: fl-name CONDITION
Package

cffi

Methods
Method: fl-name (CONDITION foreign-library-undefined-error)
Source

libraries.lisp (file)

Generic Function: foreign-library-handle OBJECT
Generic Function: (setf foreign-library-handle) NEW-VALUE OBJECT
Package

cffi

Methods
Method: foreign-library-handle (FOREIGN-LIBRARY foreign-library)

automatically generated reader method

Source

libraries.lisp (file)

Method: (setf foreign-library-handle) NEW-VALUE (FOREIGN-LIBRARY foreign-library)

automatically generated writer method

Source

libraries.lisp (file)

Generic Function: foreign-struct-slot-pointer PTR SLOT

Get the address of SLOT relative to PTR.

Package

cffi

Source

types.lisp (file)

Methods
Method: foreign-struct-slot-pointer PTR (SLOT foreign-struct-slot)

Return the address of SLOT relative to PTR.

Generic Function: foreign-struct-slot-pointer-form PTR SLOT

Return a form to get the address of SLOT in PTR.

Package

cffi

Source

types.lisp (file)

Methods
Method: foreign-struct-slot-pointer-form PTR (SLOT foreign-struct-slot)

Return a form to get the address of SLOT relative to PTR.

Generic Function: foreign-struct-slot-set-form VALUE PTR SLOT

Return a form to set the value of SLOT in struct PTR.

Package

cffi

Source

types.lisp (file)

Methods
Method: foreign-struct-slot-set-form VALUE PTR (SLOT aggregate-struct-slot)

Return a form to get the value of an aggregate SLOT relative to PTR.

Method: foreign-struct-slot-set-form VALUE PTR (SLOT simple-struct-slot)

Return a form to set the value of a simple structure slot.

Generic Function: foreign-struct-slot-value PTR SLOT

Return the value of SLOT in structure PTR.

Package

cffi

Source

types.lisp (file)

Writer

(setf foreign-struct-slot-value) (generic function)

Methods
Method: foreign-struct-slot-value PTR (SLOT aggregate-struct-slot)

Return a pointer to SLOT relative to PTR.

Method: foreign-struct-slot-value PTR (SLOT simple-struct-slot)

Return the value of a simple SLOT from a struct at PTR.

Generic Function: (setf foreign-struct-slot-value) VALUE PTR SLOT

Set the value of a SLOT in structure PTR.

Package

cffi

Source

types.lisp (file)

Reader

foreign-struct-slot-value (generic function)

Methods
Method: (setf foreign-struct-slot-value) VALUE PTR (SLOT aggregate-struct-slot)

Set the value of an aggregate SLOT to VALUE in PTR.

Method: (setf foreign-struct-slot-value) VALUE PTR (SLOT simple-struct-slot)

Set the value of a simple SLOT to VALUE in PTR.

Generic Function: foreign-struct-slot-value-form PTR SLOT

Return a form to get the value of SLOT in struct PTR.

Package

cffi

Source

types.lisp (file)

Methods
Method: foreign-struct-slot-value-form PTR (SLOT aggregate-struct-slot)

Return a form to get the value of SLOT relative to PTR.

Method: foreign-struct-slot-value-form PTR (SLOT simple-struct-slot)

Return a form to get the value of a slot from PTR.

Generic Function: foreign-type-error/namespace CONDITION
Generic Function: (setf foreign-type-error/namespace) NEW-VALUE CONDITION
Package

cffi

Methods
Method: foreign-type-error/namespace (CONDITION foreign-type-error)
Method: (setf foreign-type-error/namespace) NEW-VALUE (CONDITION foreign-type-error)
Source

early-types.lisp (file)

Generic Function: foreign-type-error/type-name CONDITION
Generic Function: (setf foreign-type-error/type-name) NEW-VALUE CONDITION
Package

cffi

Methods
Method: foreign-type-error/type-name (CONDITION foreign-type-error)
Method: (setf foreign-type-error/type-name) NEW-VALUE (CONDITION foreign-type-error)
Source

early-types.lisp (file)

Generic Function: fst-free-from-foreign-p OBJECT
Package

cffi

Methods
Method: fst-free-from-foreign-p (FOREIGN-STRING-TYPE foreign-string-type)

automatically generated reader method

Source

strings.lisp (file)

Generic Function: fst-free-to-foreign-p OBJECT
Package

cffi

Methods
Method: fst-free-to-foreign-p (FOREIGN-STRING-TYPE foreign-string-type)

automatically generated reader method

Source

strings.lisp (file)

Generic Function: keyword-values OBJECT
Package

cffi

Methods
Method: keyword-values (FOREIGN-ENUM foreign-enum)

automatically generated reader method

Source

enum.lisp (file)

Generic Function: name OBJECT
Generic Function: (setf name) NEW-VALUE OBJECT
Package

cffi

Methods
Method: name (NAMED-FOREIGN-TYPE named-foreign-type)

automatically generated reader method

Source

early-types.lisp (file)

Method: (setf name) NEW-VALUE (NAMED-FOREIGN-TYPE named-foreign-type)

automatically generated writer method

Source

early-types.lisp (file)

Generic Function: new-arg CONDITION
Package

cffi

Methods
Method: new-arg (CONDITION obsolete-argument-warning)
Source

utils.lisp (file)

Generic Function: old-arg CONDITION
Package

cffi

Methods
Method: old-arg (CONDITION obsolete-argument-warning)
Source

utils.lisp (file)

Generic Function: pointer-type OBJECT
Generic Function: (setf pointer-type) NEW-VALUE OBJECT
Package

cffi

Methods
Method: pointer-type (FOREIGN-POINTER-TYPE foreign-pointer-type)

automatically generated reader method

Source

early-types.lisp (file)

Method: (setf pointer-type) NEW-VALUE (FOREIGN-POINTER-TYPE foreign-pointer-type)

automatically generated writer method

Source

early-types.lisp (file)

Generic Function: size OBJECT
Generic Function: (setf size) NEW-VALUE OBJECT
Package

cffi

Methods
Method: size (FOREIGN-STRUCT-TYPE foreign-struct-type)

automatically generated reader method

Source

early-types.lisp (file)

Method: (setf size) NEW-VALUE (FOREIGN-STRUCT-TYPE foreign-struct-type)

automatically generated writer method

Source

early-types.lisp (file)

Generic Function: slot-count OBJECT
Generic Function: (setf slot-count) NEW-VALUE OBJECT
Package

cffi

Methods
Method: slot-count (AGGREGATE-STRUCT-SLOT aggregate-struct-slot)

automatically generated reader method

Source

types.lisp (file)

Method: (setf slot-count) NEW-VALUE (AGGREGATE-STRUCT-SLOT aggregate-struct-slot)

automatically generated writer method

Source

types.lisp (file)

Generic Function: slot-name OBJECT
Package

cffi

Methods
Method: slot-name (FOREIGN-STRUCT-SLOT foreign-struct-slot)

automatically generated reader method

Source

types.lisp (file)

Generic Function: slot-offset OBJECT
Generic Function: (setf slot-offset) NEW-VALUE OBJECT
Package

cffi

Methods
Method: slot-offset (FOREIGN-STRUCT-SLOT foreign-struct-slot)

automatically generated reader method

Source

types.lisp (file)

Method: (setf slot-offset) NEW-VALUE (FOREIGN-STRUCT-SLOT foreign-struct-slot)

automatically generated writer method

Source

types.lisp (file)

Generic Function: slot-type OBJECT
Generic Function: (setf slot-type) NEW-VALUE OBJECT
Package

cffi

Methods
Method: slot-type (FOREIGN-STRUCT-SLOT foreign-struct-slot)

automatically generated reader method

Source

types.lisp (file)

Method: (setf slot-type) NEW-VALUE (FOREIGN-STRUCT-SLOT foreign-struct-slot)

automatically generated writer method

Source

types.lisp (file)

Generic Function: slots OBJECT
Generic Function: (setf slots) NEW-VALUE OBJECT
Package

cffi

Methods
Method: slots (FOREIGN-STRUCT-TYPE foreign-struct-type)

automatically generated reader method

Source

early-types.lisp (file)

Method: (setf slots) NEW-VALUE (FOREIGN-STRUCT-TYPE foreign-struct-type)

automatically generated writer method

Source

early-types.lisp (file)

Generic Function: translate-aggregate-to-foreign PTR VALUE TYPE
Package

cffi

Source

early-types.lisp (file)

Methods
Method: translate-aggregate-to-foreign PTR VALUE (TYPE foreign-struct-type)
Source

types.lisp (file)

Method: translate-aggregate-to-foreign PTR VALUE (TYPE foreign-array-type)
Source

types.lisp (file)

Generic Function: type-keyword OBJECT
Generic Function: (setf type-keyword) NEW-VALUE OBJECT
Package

cffi

Methods
Method: type-keyword (FOREIGN-BUILT-IN-TYPE foreign-built-in-type)

automatically generated reader method

Source

early-types.lisp (file)

Method: (setf type-keyword) NEW-VALUE (FOREIGN-BUILT-IN-TYPE foreign-built-in-type)

automatically generated writer method

Source

early-types.lisp (file)

Generic Function: unparse-type FOREIGN-TYPE

Unparse FOREIGN-TYPE to a type specification (symbol or list).

Package

cffi

Source

early-types.lisp (file)

Methods
Method: unparse-type (TYPE enhanced-foreign-type)
Method: unparse-type (TYPE foreign-struct-type)
Method: unparse-type (TYPE foreign-pointer-type)
Method: unparse-type (TYPE foreign-built-in-type)

Returns the symbolic representation of a built-in type.

Method: unparse-type (TYPE named-foreign-type)
Generic Function: unparsed-type OBJECT
Generic Function: (setf unparsed-type) NEW-VALUE OBJECT
Package

cffi

Methods
Method: unparsed-type (ENHANCED-FOREIGN-TYPE enhanced-foreign-type)

automatically generated reader method

Source

early-types.lisp (file)

Method: (setf unparsed-type) NEW-VALUE (ENHANCED-FOREIGN-TYPE enhanced-foreign-type)

automatically generated writer method

Source

early-types.lisp (file)

Generic Function: value-keywords OBJECT
Package

cffi

Methods
Method: value-keywords (FOREIGN-ENUM foreign-enum)

automatically generated reader method

Source

enum.lisp (file)

Generic Function: wrapper-from-c OBJECT
Package

cffi

Methods
Method: wrapper-from-c (FOREIGN-TYPE-WRAPPER foreign-type-wrapper)

automatically generated reader method

Source

types.lisp (file)

Generic Function: wrapper-to-c OBJECT
Package

cffi

Methods
Method: wrapper-to-c (FOREIGN-TYPE-WRAPPER foreign-type-wrapper)

automatically generated reader method

Source

types.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Conditions

Condition: cffi-error ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

error (condition)

Direct subclasses

foreign-type-error (condition)

Condition: foreign-library-undefined-error ()
Package

cffi

Source

libraries.lisp (file)

Direct superclasses

error (condition)

Direct methods

fl-name (method)

Direct slots
Slot: name
Initargs

:name

Readers

fl-name (generic function)

Condition: foreign-type-error ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

cffi-error (condition)

Direct subclasses
Direct methods
Direct slots
Slot: type-name
Initargs

:type-name

Initform

(quote (error "must specify type-name."))

Readers

foreign-type-error/type-name (generic function)

Writers

(setf foreign-type-error/type-name) (generic function)

Slot: namespace
Initargs

:namespace

Initform

(quote :default)

Readers

foreign-type-error/namespace (generic function)

Writers

(setf foreign-type-error/namespace) (generic function)

Condition: obsolete-argument-warning ()
Package

cffi

Source

utils.lisp (file)

Direct superclasses

style-warning (condition)

Direct methods
Direct slots
Slot: old-arg
Initargs

:old-arg

Readers

old-arg (generic function)

Slot: new-arg
Initargs

:new-arg

Readers

new-arg (generic function)

Condition: simple-foreign-type-error ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses
Condition: undefined-foreign-type-error ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

foreign-type-error (condition)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.7 Classes

Class: aggregate-struct-slot ()

Aggregate structure slots.

Package

cffi

Source

types.lisp (file)

Direct superclasses

foreign-struct-slot (class)

Direct methods
Direct slots
Slot: count
Initargs

:count

Readers

slot-count (generic function)

Writers

(setf slot-count) (generic function)

Class: enhanced-foreign-type ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses
Direct subclasses
Direct methods
Direct slots
Slot: unparsed-type
Readers

unparsed-type (generic function)

Writers

(setf unparsed-type) (generic function)

Class: enhanced-typedef ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

foreign-typedef (class)

Direct methods
Class: foreign-array-type ()
Package

cffi

Source

types.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
Direct slots
Slot: dimensions
Initargs

:dimensions

Readers

dimensions (generic function)

Slot: element-type
Initargs

:element-type

Readers

element-type (generic function)

Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: foreign-bitfield ()

Describes a foreign bitfield type.

Package

cffi

Source

enum.lisp (file)

Direct superclasses

foreign-enum (class)

Direct methods
Direct slots
Slot: field-keywords
Initargs

:field-keywords

Initform

(error "must specify field-keywords.")

Readers

field-keywords (generic function)

Slot: bit-index->keyword
Initargs

:bit-index->keyword

Initform

(error "must specify bit-index->keyword")

Readers

bit-index->keyword (generic function)

Class: foreign-boolean-type ()
Package

cffi

Source

types.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
Class: foreign-built-in-type ()

A built-in foreign type.

Package

cffi

Source

early-types.lisp (file)

Direct superclasses

foreign-type (class)

Direct subclasses

foreign-pointer-type (class)

Direct methods
Direct slots
Slot: type-keyword
Initargs

:type-keyword

Initform

(error "a type keyword is required.")

Readers

type-keyword (generic function)

Writers

(setf type-keyword) (generic function)

Class: foreign-enum ()

Describes a foreign enumerated type.

Package

cffi

Source

enum.lisp (file)

Direct superclasses
Direct subclasses

foreign-bitfield (class)

Direct methods
Direct slots
Slot: keyword-values
Initargs

:keyword-values

Initform

(error "must specify keyword-values.")

Readers

keyword-values (generic function)

Slot: value-keywords
Initargs

:value-keywords

Initform

(error "must specify value-keywords.")

Readers

value-keywords (generic function)

Class: foreign-pointer-type ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

foreign-built-in-type (class)

Direct methods
Direct slots
Slot: pointer-type
Initargs

:pointer-type

Readers

pointer-type (generic function)

Writers

(setf pointer-type) (generic function)

Direct Default Initargs
InitargValue
:type-keyword:pointer
Class: foreign-string+ptr-type ()
Package

cffi

Source

strings.lisp (file)

Direct superclasses

foreign-string-type (class)

Direct methods

translate-from-foreign (method)

Class: foreign-string-type ()
Package

cffi

Source

strings.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct subclasses

foreign-string+ptr-type (class)

Direct methods
Direct slots
Slot: encoding
Initargs

:encoding

Readers

encoding (generic function)

Slot: free-from-foreign
Type

boolean

Initargs

:free-from-foreign

Readers

fst-free-from-foreign-p (generic function)

Slot: free-to-foreign
Type

boolean

Initargs

:free-to-foreign

Initform

t

Readers

fst-free-to-foreign-p (generic function)

Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: foreign-struct-slot ()

Base class for simple and aggregate slots.

Package

cffi

Source

types.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

slot-name (generic function)

Slot: offset
Initargs

:offset

Readers

slot-offset (generic function)

Writers

(setf slot-offset) (generic function)

Slot: type
Initargs

:type

Readers

slot-type (generic function)

Writers

(setf slot-type) (generic function)

Class: foreign-struct-type ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

named-foreign-type (class)

Direct subclasses

foreign-union-type (class)

Direct methods
Direct slots
Slot: slots
Initargs

:slots

Initform

(make-hash-table)

Readers

slots (generic function)

Writers

(setf slots) (generic function)

Slot: size
Initargs

:size

Readers

size (generic function)

Writers

(setf size) (generic function)

Slot: alignment
Initargs

:alignment

Readers

alignment (generic function)

Writers

(setf alignment) (generic function)

Slot: bare
Initargs

:bare

Readers

bare-struct-type-p (generic function)

Class: foreign-type ()

Base class for all foreign types.

Package

cffi

Source

early-types.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Class: foreign-type-alias ()

A type that aliases another type.

Package

cffi

Source

early-types.lisp (file)

Direct superclasses

foreign-type (class)

Direct subclasses
Direct methods
Direct slots
Slot: actual-type
Initargs

:actual-type

Initform

(error "must specify an actual-type.")

Readers

actual-type (generic function)

Writers

(setf actual-type) (generic function)

Class: foreign-type-wrapper ()

Wrapper type.

Package

cffi

Source

types.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods
Direct slots
Slot: to-c
Initargs

:to-c

Readers

wrapper-to-c (generic function)

Slot: from-c
Initargs

:from-c

Readers

wrapper-from-c (generic function)

Class: foreign-typedef ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses
Direct subclasses

enhanced-typedef (class)

Direct methods

bare-struct-type-p (method)

Class: foreign-union-type ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

foreign-struct-type (class)

Direct methods

canonicalize (method)

Class: named-foreign-type ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

foreign-type (class)

Direct subclasses
Direct methods
Direct slots
Slot: name
Initargs

:name

Initform

(error "must specify a name.")

Readers

name (generic function)

Writers

(setf name) (generic function)

Class: simple-struct-slot ()

Non-aggregate structure slots.

Package

cffi

Source

types.lisp (file)

Direct superclasses

foreign-struct-slot (class)

Direct methods
Class: translatable-foreign-type ()
Package

cffi

Source

early-types.lisp (file)

Direct superclasses

foreign-type (class)

Direct subclasses

enhanced-foreign-type (class)

Direct methods

Previous: , Up: Internal definitions   [Contents][Index]

6.2.8 Types

Type: c-namespace-name ()
Package

cffi

Source

early-types.lisp (file)

Type: enum-key ()
Package

cffi

Source

enum.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
cffi.asd: The cffi<dot>asd file
cffi/src: The cffi/src module
cffi/src/cffi-sbcl.lisp: The cffi/src/cffi-sbcl<dot>lisp file
cffi/src/early-types.lisp: The cffi/src/early-types<dot>lisp file
cffi/src/enum.lisp: The cffi/src/enum<dot>lisp file
cffi/src/features.lisp: The cffi/src/features<dot>lisp file
cffi/src/foreign-vars.lisp: The cffi/src/foreign-vars<dot>lisp file
cffi/src/functions.lisp: The cffi/src/functions<dot>lisp file
cffi/src/libraries.lisp: The cffi/src/libraries<dot>lisp file
cffi/src/package.lisp: The cffi/src/package<dot>lisp file
cffi/src/strings.lisp: The cffi/src/strings<dot>lisp file
cffi/src/structures.lisp: The cffi/src/structures<dot>lisp file
cffi/src/types.lisp: The cffi/src/types<dot>lisp file
cffi/src/utils.lisp: The cffi/src/utils<dot>lisp file

F
File, Lisp, cffi.asd: The cffi<dot>asd file
File, Lisp, cffi/src/cffi-sbcl.lisp: The cffi/src/cffi-sbcl<dot>lisp file
File, Lisp, cffi/src/early-types.lisp: The cffi/src/early-types<dot>lisp file
File, Lisp, cffi/src/enum.lisp: The cffi/src/enum<dot>lisp file
File, Lisp, cffi/src/features.lisp: The cffi/src/features<dot>lisp file
File, Lisp, cffi/src/foreign-vars.lisp: The cffi/src/foreign-vars<dot>lisp file
File, Lisp, cffi/src/functions.lisp: The cffi/src/functions<dot>lisp file
File, Lisp, cffi/src/libraries.lisp: The cffi/src/libraries<dot>lisp file
File, Lisp, cffi/src/package.lisp: The cffi/src/package<dot>lisp file
File, Lisp, cffi/src/strings.lisp: The cffi/src/strings<dot>lisp file
File, Lisp, cffi/src/structures.lisp: The cffi/src/structures<dot>lisp file
File, Lisp, cffi/src/types.lisp: The cffi/src/types<dot>lisp file
File, Lisp, cffi/src/utils.lisp: The cffi/src/utils<dot>lisp file

L
Lisp File, cffi.asd: The cffi<dot>asd file
Lisp File, cffi/src/cffi-sbcl.lisp: The cffi/src/cffi-sbcl<dot>lisp file
Lisp File, cffi/src/early-types.lisp: The cffi/src/early-types<dot>lisp file
Lisp File, cffi/src/enum.lisp: The cffi/src/enum<dot>lisp file
Lisp File, cffi/src/features.lisp: The cffi/src/features<dot>lisp file
Lisp File, cffi/src/foreign-vars.lisp: The cffi/src/foreign-vars<dot>lisp file
Lisp File, cffi/src/functions.lisp: The cffi/src/functions<dot>lisp file
Lisp File, cffi/src/libraries.lisp: The cffi/src/libraries<dot>lisp file
Lisp File, cffi/src/package.lisp: The cffi/src/package<dot>lisp file
Lisp File, cffi/src/strings.lisp: The cffi/src/strings<dot>lisp file
Lisp File, cffi/src/structures.lisp: The cffi/src/structures<dot>lisp file
Lisp File, cffi/src/types.lisp: The cffi/src/types<dot>lisp file
Lisp File, cffi/src/utils.lisp: The cffi/src/utils<dot>lisp file

M
Module, cffi/src: The cffi/src module

Jump to:   C   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   R   S   T   U   V   W  
Index Entry  Section

%
%%foreign-funcall: Internal macros
%callback: Exported functions
%close-foreign-library: Exported functions
%defcallback: Exported macros
%defcenum-like: Internal functions
%defcfun: Internal functions
%defcfun-varargs: Internal functions
%do-load-foreign-library: Internal functions
%foreign-alloc: Exported functions
%foreign-bitfield-symbols: Internal functions
%foreign-bitfield-value: Internal functions
%foreign-enum-keyword: Internal functions
%foreign-enum-value: Internal functions
%foreign-funcall: Exported macros
%foreign-funcall-pointer: Exported macros
%foreign-library-spec: Internal functions
%foreign-string-length: Internal macros
%foreign-symbol-pointer: Exported functions
%foreign-type-alignment: Exported functions
%foreign-type-size: Exported functions
%load-foreign-library: Exported functions
%mem-ref: Exported compiler macros
%mem-ref: Exported functions
%mem-set: Exported compiler macros
%mem-set: Exported functions
%parse-name-and-options: Internal functions

(
(setf actual-type): Internal generic functions
(setf actual-type): Internal generic functions
(setf alignment): Internal generic functions
(setf alignment): Internal generic functions
(setf find-type-parser): Internal functions
(setf foreign-aref): Exported functions
(setf foreign-library-handle): Internal generic functions
(setf foreign-library-handle): Internal generic functions
(setf foreign-library-name): Exported generic functions
(setf foreign-library-name): Exported generic functions
(setf foreign-slot-value): Exported functions
(setf foreign-struct-slot-value): Internal generic functions
(setf foreign-struct-slot-value): Internal generic functions
(setf foreign-struct-slot-value): Internal generic functions
(setf foreign-type-error/namespace): Internal generic functions
(setf foreign-type-error/namespace): Internal generic functions
(setf foreign-type-error/type-name): Internal generic functions
(setf foreign-type-error/type-name): Internal generic functions
(setf get-foreign-library): Internal functions
(setf mem-aref): Exported functions
(setf mem-ref): Exported functions
(setf name): Internal generic functions
(setf name): Internal generic functions
(setf pointer-type): Internal generic functions
(setf pointer-type): Internal generic functions
(setf size): Internal generic functions
(setf size): Internal generic functions
(setf slot-count): Internal generic functions
(setf slot-count): Internal generic functions
(setf slot-offset): Internal generic functions
(setf slot-offset): Internal generic functions
(setf slot-type): Internal generic functions
(setf slot-type): Internal generic functions
(setf slots): Internal generic functions
(setf slots): Internal generic functions
(setf type-keyword): Internal generic functions
(setf type-keyword): Internal generic functions
(setf unparsed-type): Internal generic functions
(setf unparsed-type): Internal generic functions

A
actual-type: Internal generic functions
actual-type: Internal generic functions
adjust-for-alignment: Internal functions
aggregatep: Internal generic functions
aggregatep: Internal generic functions
aggregatep: Internal generic functions
aggregatep: Internal generic functions
aggregatep: Internal generic functions
alignment: Internal generic functions
alignment: Internal generic functions
array-element-size: Internal functions

B
bare-struct-type-p: Internal generic functions
bare-struct-type-p: Internal generic functions
bare-struct-type-p: Internal generic functions
bare-struct-type-p: Internal generic functions
bget: Internal macros
bit-index->keyword: Internal generic functions
bit-index->keyword: Internal generic functions
bset: Internal macros

C
callback: Exported macros
canonicalize: Internal generic functions
canonicalize: Internal generic functions
canonicalize: Internal generic functions
canonicalize: Internal generic functions
canonicalize: Internal generic functions
canonicalize-foreign-type: Internal functions
canonicalize-symbol-name-case: Exported functions
cffi-feature-p: Exported functions
check-for-typedef-cycles: Internal functions
check-prefix: Internal functions
clean-spec-up: Internal functions
close-foreign-library: Exported functions
collapse-prefix: Internal functions
Compiler Macro, %mem-ref: Exported compiler macros
Compiler Macro, %mem-set: Exported compiler macros
Compiler Macro, convert-from-foreign: Exported compiler macros
Compiler Macro, convert-into-foreign-memory: Exported compiler macros
Compiler Macro, convert-to-foreign: Exported compiler macros
Compiler Macro, foreign-alloc: Exported compiler macros
Compiler Macro, foreign-bitfield-symbols: Exported compiler macros
Compiler Macro, foreign-bitfield-value: Exported compiler macros
Compiler Macro, foreign-slot-pointer: Exported compiler macros
Compiler Macro, foreign-slot-set: Internal compiler macros
Compiler Macro, foreign-slot-value: Exported compiler macros
Compiler Macro, mem-aptr: Exported compiler macros
Compiler Macro, mem-aref: Exported compiler macros
Compiler Macro, mem-ref: Exported compiler macros
Compiler Macro, mem-set: Internal compiler macros
convert-foreign-type: Internal functions
convert-from-foreign: Exported compiler macros
convert-from-foreign: Exported functions
convert-into-foreign-memory: Exported compiler macros
convert-into-foreign-memory: Exported functions
convert-to-foreign: Exported compiler macros
convert-to-foreign: Exported functions

D
darwin-fallback-library-path: Internal functions
default-library-suffix: Internal functions
defbitfield: Exported macros
defcallback: Exported macros
defcenum: Exported macros
defcfun: Exported macros
defcfun-helper-forms: Internal functions
defcstruct: Exported macros
defctype: Exported macros
defctype*: Internal macros
defcunion: Exported macros
defcvar: Exported macros
define-built-in-foreign-type: Internal macros
define-c-struct-wrapper: Exported macros
define-foreign-library: Exported macros
define-foreign-type: Exported macros
define-mem-accessors: Internal macros
define-parse-method: Exported macros
define-translation-method: Exported macros
define-type-mapping: Internal macros
dimensions: Internal generic functions
dimensions: Internal generic functions
discard-docstring: Internal macros

E
element-type: Internal generic functions
element-type: Internal generic functions
encoding: Internal generic functions
encoding: Internal generic functions
ensure-parsed-base-type: Internal functions
expand-from-foreign: Exported generic functions
expand-from-foreign: Exported generic functions
expand-from-foreign: Exported generic functions
expand-from-foreign: Exported generic functions
expand-from-foreign: Exported generic functions
expand-from-foreign: Exported generic functions
expand-from-foreign: Exported generic functions
expand-into-foreign-memory: Exported generic functions
expand-into-foreign-memory: Exported generic functions
expand-into-foreign-memory: Exported generic functions
expand-into-foreign-memory: Exported generic functions
expand-into-foreign-memory: Exported generic functions
expand-to-foreign: Exported generic functions
expand-to-foreign: Exported generic functions
expand-to-foreign: Exported generic functions
expand-to-foreign: Exported generic functions
expand-to-foreign: Exported generic functions
expand-to-foreign: Exported generic functions
expand-to-foreign: Exported generic functions
expand-to-foreign: Exported generic functions
expand-to-foreign-dyn: Exported generic functions
expand-to-foreign-dyn: Exported generic functions
expand-to-foreign-dyn: Exported generic functions
expand-to-foreign-dyn: Exported generic functions
expand-to-foreign-dyn: Exported generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
expand-to-foreign-dyn-indirect: Internal generic functions
explode-path-environment-variable: Internal functions

F
fallback-darwin-framework-directories: Internal functions
field-keywords: Internal generic functions
field-keywords: Internal generic functions
filter-pathname: Internal functions
find-darwin-framework: Internal functions
find-file: Internal functions
find-type-parser: Internal functions
fl-error: Internal functions
fl-name: Internal generic functions
fl-name: Internal generic functions
fn-call-by-value-p: Internal functions
follow-typedefs: Internal functions
foreign-alloc: Exported compiler macros
foreign-alloc: Exported functions
foreign-aref: Exported functions
foreign-array-alloc: Exported functions
foreign-array-free: Exported functions
foreign-array-to-lisp: Exported functions
foreign-bitfield-symbol-list: Exported functions
foreign-bitfield-symbols: Exported compiler macros
foreign-bitfield-symbols: Exported functions
foreign-bitfield-value: Exported compiler macros
foreign-bitfield-value: Exported functions
foreign-enum-keyword: Exported functions
foreign-enum-keyword-list: Exported functions
foreign-enum-value: Exported functions
foreign-expand-runtime-translator-or-binding: Internal functions
foreign-free: Exported functions
foreign-funcall: Exported macros
foreign-funcall-form: Internal functions
foreign-funcall-pointer: Exported macros
foreign-funcall-pointer-varargs: Internal macros
foreign-funcall-type-and-args: Internal functions
foreign-funcall-varargs: Internal macros
foreign-funcall-varargs-form: Internal functions
foreign-library-handle: Internal generic functions
foreign-library-handle: Internal generic functions
foreign-library-loaded-p: Exported functions
foreign-library-name: Exported generic functions
foreign-library-name: Exported generic functions
foreign-library-options: Internal functions
foreign-library-pathname: Exported functions
foreign-library-search-path: Internal functions
foreign-library-spec: Internal functions
foreign-library-type: Exported functions
foreign-name: Internal functions
foreign-options: Internal functions
foreign-slot-count: Exported functions
foreign-slot-names: Exported functions
foreign-slot-offset: Exported functions
foreign-slot-pointer: Exported compiler macros
foreign-slot-pointer: Exported functions
foreign-slot-set: Internal compiler macros
foreign-slot-set: Internal functions
foreign-slot-type: Exported functions
foreign-slot-value: Exported compiler macros
foreign-slot-value: Exported functions
foreign-string-alloc: Exported functions
foreign-string-free: Exported functions
foreign-string-length: Internal functions
foreign-string-to-lisp: Exported functions
foreign-struct-slot-pointer: Internal generic functions
foreign-struct-slot-pointer: Internal generic functions
foreign-struct-slot-pointer-form: Internal generic functions
foreign-struct-slot-pointer-form: Internal generic functions
foreign-struct-slot-set-form: Internal generic functions
foreign-struct-slot-set-form: Internal generic functions
foreign-struct-slot-set-form: Internal generic functions
foreign-struct-slot-value: Internal generic functions
foreign-struct-slot-value: Internal generic functions
foreign-struct-slot-value: Internal generic functions
foreign-struct-slot-value-form: Internal generic functions
foreign-struct-slot-value-form: Internal generic functions
foreign-struct-slot-value-form: Internal generic functions
foreign-symbol-pointer: Exported functions
foreign-type-alignment: Exported generic functions
foreign-type-alignment: Exported generic functions
foreign-type-alignment: Exported generic functions
foreign-type-alignment: Exported generic functions
foreign-type-alignment: Exported generic functions
foreign-type-alignment: Exported generic functions
foreign-type-error/compound-name: Internal functions
foreign-type-error/namespace: Internal generic functions
foreign-type-error/namespace: Internal generic functions
foreign-type-error/type-name: Internal generic functions
foreign-type-error/type-name: Internal generic functions
foreign-type-size: Exported generic functions
foreign-type-size: Exported generic functions
foreign-type-size: Exported generic functions
foreign-type-size: Exported generic functions
foreign-type-size: Exported generic functions
foreign-type-size: Exported generic functions
free-converted-object: Exported functions
free-translated-object: Exported generic functions
free-translated-object: Exported generic functions
free-translated-object: Exported generic functions
free-translated-object: Exported generic functions
free-translated-object: Exported generic functions
free-translated-object: Exported generic functions
fs-pointer-or-lose: Internal functions
fst-encoding: Internal functions
fst-free-from-foreign-p: Internal generic functions
fst-free-from-foreign-p: Internal generic functions
fst-free-to-foreign-p: Internal generic functions
fst-free-to-foreign-p: Internal generic functions
Function, %callback: Exported functions
Function, %close-foreign-library: Exported functions
Function, %defcenum-like: Internal functions
Function, %defcfun: Internal functions
Function, %defcfun-varargs: Internal functions
Function, %do-load-foreign-library: Internal functions
Function, %foreign-alloc: Exported functions
Function, %foreign-bitfield-symbols: Internal functions
Function, %foreign-bitfield-value: Internal functions
Function, %foreign-enum-keyword: Internal functions
Function, %foreign-enum-value: Internal functions
Function, %foreign-library-spec: Internal functions
Function, %foreign-symbol-pointer: Exported functions
Function, %foreign-type-alignment: Exported functions
Function, %foreign-type-size: Exported functions
Function, %load-foreign-library: Exported functions
Function, %mem-ref: Exported functions
Function, %mem-set: Exported functions
Function, %parse-name-and-options: Internal functions
Function, (setf find-type-parser): Internal functions
Function, (setf foreign-aref): Exported functions
Function, (setf get-foreign-library): Internal functions
Function, adjust-for-alignment: Internal functions
Function, array-element-size: Internal functions
Function, canonicalize-foreign-type: Internal functions
Function, canonicalize-symbol-name-case: Exported functions
Function, cffi-feature-p: Exported functions
Function, check-for-typedef-cycles: Internal functions
Function, check-prefix: Internal functions
Function, clean-spec-up: Internal functions
Function, close-foreign-library: Exported functions
Function, collapse-prefix: Internal functions
Function, convert-foreign-type: Internal functions
Function, convert-from-foreign: Exported functions
Function, convert-into-foreign-memory: Exported functions
Function, convert-to-foreign: Exported functions
Function, darwin-fallback-library-path: Internal functions
Function, default-library-suffix: Internal functions
Function, defcfun-helper-forms: Internal functions
Function, ensure-parsed-base-type: Internal functions
Function, explode-path-environment-variable: Internal functions
Function, fallback-darwin-framework-directories: Internal functions
Function, filter-pathname: Internal functions
Function, find-darwin-framework: Internal functions
Function, find-file: Internal functions
Function, find-type-parser: Internal functions
Function, fl-error: Internal functions
Function, fn-call-by-value-p: Internal functions
Function, follow-typedefs: Internal functions
Function, foreign-alloc: Exported functions
Function, foreign-aref: Exported functions
Function, foreign-array-alloc: Exported functions
Function, foreign-array-free: Exported functions
Function, foreign-array-to-lisp: Exported functions
Function, foreign-bitfield-symbol-list: Exported functions
Function, foreign-bitfield-symbols: Exported functions
Function, foreign-bitfield-value: Exported functions
Function, foreign-enum-keyword: Exported functions
Function, foreign-enum-keyword-list: Exported functions
Function, foreign-enum-value: Exported functions
Function, foreign-expand-runtime-translator-or-binding: Internal functions
Function, foreign-free: Exported functions
Function, foreign-funcall-form: Internal functions
Function, foreign-funcall-type-and-args: Internal functions
Function, foreign-funcall-varargs-form: Internal functions
Function, foreign-library-loaded-p: Exported functions
Function, foreign-library-options: Internal functions
Function, foreign-library-pathname: Exported functions
Function, foreign-library-search-path: Internal functions
Function, foreign-library-spec: Internal functions
Function, foreign-library-type: Exported functions
Function, foreign-name: Internal functions
Function, foreign-options: Internal functions
Function, foreign-slot-count: Exported functions
Function, foreign-slot-names: Exported functions
Function, foreign-slot-offset: Exported functions
Function, foreign-slot-pointer: Exported functions
Function, foreign-slot-set: Internal functions
Function, foreign-slot-type: Exported functions
Function, foreign-slot-value: Exported functions
Function, foreign-string-alloc: Exported functions
Function, foreign-string-free: Exported functions
Function, foreign-string-length: Internal functions
Function, foreign-string-to-lisp: Exported functions
Function, foreign-symbol-pointer: Exported functions
Function, foreign-type-error/compound-name: Internal functions
Function, free-converted-object: Exported functions
Function, fs-pointer-or-lose: Internal functions
Function, fst-encoding: Internal functions
Function, generate-struct-accessors: Internal functions
Function, get-alignment: Internal functions
Function, get-callback: Exported functions
Function, get-foreign-library: Internal functions
Function, get-slot-info: Internal functions
Function, get-var-pointer: Exported functions
Function, hash-keys-to-list: Internal functions
Function, inc-pointer: Exported functions
Function, indexes-to-row-major-index: Internal functions
Function, inverse-translate-objects: Internal functions
Function, lisp-array-to-foreign: Exported functions
Function, lisp-name: Internal functions
Function, lisp-name-p: Internal functions
Function, lisp-string-to-foreign: Exported functions
Function, list-foreign-libraries: Exported functions
Function, load-darwin-framework: Internal functions
Function, load-foreign-library: Exported functions
Function, load-foreign-library-helper: Internal functions
Function, load-foreign-library-path: Internal functions
Function, make-foreign-bitfield: Internal functions
Function, make-foreign-enum: Internal functions
Function, make-pointer: Exported functions
Function, make-shareable-byte-vector: Exported functions
Function, make-struct-slot: Internal functions
Function, mem-aptr: Exported functions
Function, mem-aref: Exported functions
Function, mem-ref: Exported functions
Function, mem-set: Internal functions
Function, mini-eval: Internal functions
Function, native-namestring: Exported functions
Function, notice-foreign-struct-definition: Internal functions
Function, notice-foreign-type: Internal functions
Function, notice-foreign-union-definition: Internal functions
Function, null-pointer: Exported functions
Function, null-pointer-p: Exported functions
Function, null-terminator-len: Internal functions
Function, parse-args-and-types: Internal functions
Function, parse-defcallback-options: Internal functions
Function, parse-defcvar-options: Internal functions
Function, parse-deprecated-struct-type: Internal functions
Function, parse-directories: Internal functions
Function, parse-foreign-enum-like: Internal functions
Function, parse-function-options: Internal functions
Function, parse-name-and-options: Internal functions
Function, parse-type: Internal functions
Function, pointer-address: Exported functions
Function, pointer-eq: Exported functions
Function, pointerp: Exported functions
Function, promote-varargs-type: Internal functions
Function, read-new-value: Internal functions
Function, register-foreign-library: Internal functions
Function, reload-foreign-libraries: Exported functions
Function, report-simple-error: Internal functions
Function, row-major-index-to-indexes: Internal functions
Function, simple-foreign-type-error: Internal functions
Function, single-bit-p: Internal functions
Function, slots-in-order: Internal functions
Function, split-if: Internal functions
Function, structure-by-value-p: Internal functions
Function, structure-slots: Internal functions
Function, translate-objects: Internal functions
Function, try-foreign-library-alternatives: Internal functions
Function, undefine-foreign-type: Internal functions
Function, undefined-foreign-type-error: Internal functions
Function, unload-shared-object-present-p: Internal functions
Function, warn-if-kw-or-belongs-to-cl: Internal functions
Function, warn-obsolete-argument: Internal functions

G
generate-struct-accessors: Internal functions
Generic Function, (setf actual-type): Internal generic functions
Generic Function, (setf alignment): Internal generic functions
Generic Function, (setf foreign-library-handle): Internal generic functions
Generic Function, (setf foreign-library-name): Exported generic functions
Generic Function, (setf foreign-struct-slot-value): Internal generic functions
Generic Function, (setf foreign-type-error/namespace): Internal generic functions
Generic Function, (setf foreign-type-error/type-name): Internal generic functions
Generic Function, (setf name): Internal generic functions
Generic Function, (setf pointer-type): Internal generic functions
Generic Function, (setf size): Internal generic functions
Generic Function, (setf slot-count): Internal generic functions
Generic Function, (setf slot-offset): Internal generic functions
Generic Function, (setf slot-type): Internal generic functions
Generic Function, (setf slots): Internal generic functions
Generic Function, (setf type-keyword): Internal generic functions
Generic Function, (setf unparsed-type): Internal generic functions
Generic Function, actual-type: Internal generic functions
Generic Function, aggregatep: Internal generic functions
Generic Function, alignment: Internal generic functions
Generic Function, bare-struct-type-p: Internal generic functions
Generic Function, bit-index->keyword: Internal generic functions
Generic Function, canonicalize: Internal generic functions
Generic Function, dimensions: Internal generic functions
Generic Function, element-type: Internal generic functions
Generic Function, encoding: Internal generic functions
Generic Function, expand-from-foreign: Exported generic functions
Generic Function, expand-into-foreign-memory: Exported generic functions
Generic Function, expand-to-foreign: Exported generic functions
Generic Function, expand-to-foreign-dyn: Exported generic functions
Generic Function, expand-to-foreign-dyn-indirect: Internal generic functions
Generic Function, field-keywords: Internal generic functions
Generic Function, fl-name: Internal generic functions
Generic Function, foreign-library-handle: Internal generic functions
Generic Function, foreign-library-name: Exported generic functions
Generic Function, foreign-struct-slot-pointer: Internal generic functions
Generic Function, foreign-struct-slot-pointer-form: Internal generic functions
Generic Function, foreign-struct-slot-set-form: Internal generic functions
Generic Function, foreign-struct-slot-value: Internal generic functions
Generic Function, foreign-struct-slot-value-form: Internal generic functions
Generic Function, foreign-type-alignment: Exported generic functions
Generic Function, foreign-type-error/namespace: Internal generic functions
Generic Function, foreign-type-error/type-name: Internal generic functions
Generic Function, foreign-type-size: Exported generic functions
Generic Function, free-translated-object: Exported generic functions
Generic Function, fst-free-from-foreign-p: Internal generic functions
Generic Function, fst-free-to-foreign-p: Internal generic functions
Generic Function, keyword-values: Internal generic functions
Generic Function, name: Internal generic functions
Generic Function, new-arg: Internal generic functions
Generic Function, old-arg: Internal generic functions
Generic Function, pointer-type: Internal generic functions
Generic Function, size: Internal generic functions
Generic Function, slot-count: Internal generic functions
Generic Function, slot-name: Internal generic functions
Generic Function, slot-offset: Internal generic functions
Generic Function, slot-type: Internal generic functions
Generic Function, slots: Internal generic functions
Generic Function, translate-aggregate-to-foreign: Internal generic functions
Generic Function, translate-camelcase-name: Exported generic functions
Generic Function, translate-from-foreign: Exported generic functions
Generic Function, translate-into-foreign-memory: Exported generic functions
Generic Function, translate-name-from-foreign: Exported generic functions
Generic Function, translate-name-to-foreign: Exported generic functions
Generic Function, translate-to-foreign: Exported generic functions
Generic Function, translate-underscore-separated-name: Exported generic functions
Generic Function, type-keyword: Internal generic functions
Generic Function, unparse-type: Internal generic functions
Generic Function, unparsed-type: Internal generic functions
Generic Function, value-keywords: Internal generic functions
Generic Function, wrapper-from-c: Internal generic functions
Generic Function, wrapper-to-c: Internal generic functions
get-alignment: Internal functions
get-callback: Exported functions
get-foreign-library: Internal functions
get-slot-info: Internal functions
get-var-pointer: Exported functions

H
hash-keys-to-list: Internal functions

I
inc-pointer: Exported functions
incf-pointer: Exported macros
indexes-to-row-major-index: Internal functions
inverse-translate-objects: Internal functions

K
keyword-values: Internal generic functions
keyword-values: Internal generic functions

L
lisp-array-to-foreign: Exported functions
lisp-name: Internal functions
lisp-name-p: Internal functions
lisp-string-to-foreign: Exported functions
list-foreign-libraries: Exported functions
load-darwin-framework: Internal functions
load-foreign-library: Exported functions
load-foreign-library-helper: Internal functions
load-foreign-library-path: Internal functions

M
Macro, %%foreign-funcall: Internal macros
Macro, %defcallback: Exported macros
Macro, %foreign-funcall: Exported macros
Macro, %foreign-funcall-pointer: Exported macros
Macro, %foreign-string-length: Internal macros
Macro, bget: Internal macros
Macro, bset: Internal macros
Macro, callback: Exported macros
Macro, defbitfield: Exported macros
Macro, defcallback: Exported macros
Macro, defcenum: Exported macros
Macro, defcfun: Exported macros
Macro, defcstruct: Exported macros
Macro, defctype: Exported macros
Macro, defctype*: Internal macros
Macro, defcunion: Exported macros
Macro, defcvar: Exported macros
Macro, define-built-in-foreign-type: Internal macros
Macro, define-c-struct-wrapper: Exported macros
Macro, define-foreign-library: Exported macros
Macro, define-foreign-type: Exported macros
Macro, define-mem-accessors: Internal macros
Macro, define-parse-method: Exported macros
Macro, define-translation-method: Exported macros
Macro, define-type-mapping: Internal macros
Macro, discard-docstring: Internal macros
Macro, foreign-funcall: Exported macros
Macro, foreign-funcall-pointer: Exported macros
Macro, foreign-funcall-pointer-varargs: Internal macros
Macro, foreign-funcall-varargs: Internal macros
Macro, incf-pointer: Exported macros
Macro, translation-forms-for-class: Exported macros
Macro, use-foreign-library: Exported macros
Macro, with-foreign-array: Exported macros
Macro, with-foreign-object: Exported macros
Macro, with-foreign-objects: Exported macros
Macro, with-foreign-pointer: Exported macros
Macro, with-foreign-pointer-as-string: Exported macros
Macro, with-foreign-slots: Exported macros
Macro, with-foreign-string: Exported macros
Macro, with-foreign-strings: Exported macros
Macro, with-pointer-to-vector-data: Exported macros
Macro, with-tentative-type-definition: Internal macros
make-foreign-bitfield: Internal functions
make-foreign-enum: Internal functions
make-pointer: Exported functions
make-shareable-byte-vector: Exported functions
make-struct-slot: Internal functions
mem-aptr: Exported compiler macros
mem-aptr: Exported functions
mem-aref: Exported compiler macros
mem-aref: Exported functions
mem-ref: Exported compiler macros
mem-ref: Exported functions
mem-set: Internal compiler macros
mem-set: Internal functions
Method, (setf actual-type): Internal generic functions
Method, (setf alignment): Internal generic functions
Method, (setf foreign-library-handle): Internal generic functions
Method, (setf foreign-library-name): Exported generic functions
Method, (setf foreign-struct-slot-value): Internal generic functions
Method, (setf foreign-struct-slot-value): Internal generic functions
Method, (setf foreign-type-error/namespace): Internal generic functions
Method, (setf foreign-type-error/type-name): Internal generic functions
Method, (setf name): Internal generic functions
Method, (setf pointer-type): Internal generic functions
Method, (setf size): Internal generic functions
Method, (setf slot-count): Internal generic functions
Method, (setf slot-offset): Internal generic functions
Method, (setf slot-type): Internal generic functions
Method, (setf slots): Internal generic functions
Method, (setf type-keyword): Internal generic functions
Method, (setf unparsed-type): Internal generic functions
Method, actual-type: Internal generic functions
Method, aggregatep: Internal generic functions
Method, aggregatep: Internal generic functions
Method, aggregatep: Internal generic functions
Method, aggregatep: Internal generic functions
Method, alignment: Internal generic functions
Method, bare-struct-type-p: Internal generic functions
Method, bare-struct-type-p: Internal generic functions
Method, bare-struct-type-p: Internal generic functions
Method, bit-index->keyword: Internal generic functions
Method, canonicalize: Internal generic functions
Method, canonicalize: Internal generic functions
Method, canonicalize: Internal generic functions
Method, canonicalize: Internal generic functions
Method, dimensions: Internal generic functions
Method, element-type: Internal generic functions
Method, encoding: Internal generic functions
Method, expand-from-foreign: Exported generic functions
Method, expand-from-foreign: Exported generic functions
Method, expand-from-foreign: Exported generic functions
Method, expand-from-foreign: Exported generic functions
Method, expand-from-foreign: Exported generic functions
Method, expand-from-foreign: Exported generic functions
Method, expand-into-foreign-memory: Exported generic functions
Method, expand-into-foreign-memory: Exported generic functions
Method, expand-into-foreign-memory: Exported generic functions
Method, expand-into-foreign-memory: Exported generic functions
Method, expand-to-foreign: Exported generic functions
Method, expand-to-foreign: Exported generic functions
Method, expand-to-foreign: Exported generic functions
Method, expand-to-foreign: Exported generic functions
Method, expand-to-foreign: Exported generic functions
Method, expand-to-foreign: Exported generic functions
Method, expand-to-foreign: Exported generic functions
Method, expand-to-foreign-dyn: Exported generic functions
Method, expand-to-foreign-dyn: Exported generic functions
Method, expand-to-foreign-dyn: Exported generic functions
Method, expand-to-foreign-dyn: Exported generic functions
Method, expand-to-foreign-dyn-indirect: Internal generic functions
Method, expand-to-foreign-dyn-indirect: Internal generic functions
Method, expand-to-foreign-dyn-indirect: Internal generic functions
Method, expand-to-foreign-dyn-indirect: Internal generic functions
Method, expand-to-foreign-dyn-indirect: Internal generic functions
Method, expand-to-foreign-dyn-indirect: Internal generic functions
Method, expand-to-foreign-dyn-indirect: Internal generic functions
Method, expand-to-foreign-dyn-indirect: Internal generic functions
Method, field-keywords: Internal generic functions
Method, fl-name: Internal generic functions
Method, foreign-library-handle: Internal generic functions
Method, foreign-library-name: Exported generic functions
Method, foreign-struct-slot-pointer: Internal generic functions
Method, foreign-struct-slot-pointer-form: Internal generic functions
Method, foreign-struct-slot-set-form: Internal generic functions
Method, foreign-struct-slot-set-form: Internal generic functions
Method, foreign-struct-slot-value: Internal generic functions
Method, foreign-struct-slot-value: Internal generic functions
Method, foreign-struct-slot-value-form: Internal generic functions
Method, foreign-struct-slot-value-form: Internal generic functions
Method, foreign-type-alignment: Exported generic functions
Method, foreign-type-alignment: Exported generic functions
Method, foreign-type-alignment: Exported generic functions
Method, foreign-type-alignment: Exported generic functions
Method, foreign-type-alignment: Exported generic functions
Method, foreign-type-error/namespace: Internal generic functions
Method, foreign-type-error/type-name: Internal generic functions
Method, foreign-type-size: Exported generic functions
Method, foreign-type-size: Exported generic functions
Method, foreign-type-size: Exported generic functions
Method, foreign-type-size: Exported generic functions
Method, foreign-type-size: Exported generic functions
Method, free-translated-object: Exported generic functions
Method, free-translated-object: Exported generic functions
Method, free-translated-object: Exported generic functions
Method, free-translated-object: Exported generic functions
Method, free-translated-object: Exported generic functions
Method, fst-free-from-foreign-p: Internal generic functions
Method, fst-free-to-foreign-p: Internal generic functions
Method, keyword-values: Internal generic functions
Method, name: Internal generic functions
Method, new-arg: Internal generic functions
Method, old-arg: Internal generic functions
Method, pointer-type: Internal generic functions
Method, size: Internal generic functions
Method, slot-count: Internal generic functions
Method, slot-name: Internal generic functions
Method, slot-offset: Internal generic functions
Method, slot-type: Internal generic functions
Method, slots: Internal generic functions
Method, translate-aggregate-to-foreign: Internal generic functions
Method, translate-aggregate-to-foreign: Internal generic functions
Method, translate-camelcase-name: Exported generic functions
Method, translate-camelcase-name: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-from-foreign: Exported generic functions
Method, translate-into-foreign-memory: Exported generic functions
Method, translate-into-foreign-memory: Exported generic functions
Method, translate-into-foreign-memory: Exported generic functions
Method, translate-into-foreign-memory: Exported generic functions
Method, translate-into-foreign-memory: Exported generic functions
Method, translate-name-from-foreign: Exported generic functions
Method, translate-name-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-to-foreign: Exported generic functions
Method, translate-underscore-separated-name: Exported generic functions
Method, translate-underscore-separated-name: Exported generic functions
Method, type-keyword: Internal generic functions
Method, unparse-type: Internal generic functions
Method, unparse-type: Internal generic functions
Method, unparse-type: Internal generic functions
Method, unparse-type: Internal generic functions
Method, unparse-type: Internal generic functions
Method, unparsed-type: Internal generic functions
Method, value-keywords: Internal generic functions
Method, wrapper-from-c: Internal generic functions
Method, wrapper-to-c: Internal generic functions
mini-eval: Internal functions

N
name: Internal generic functions
name: Internal generic functions
native-namestring: Exported functions
new-arg: Internal generic functions
new-arg: Internal generic functions
notice-foreign-struct-definition: Internal functions
notice-foreign-type: Internal functions
notice-foreign-union-definition: Internal functions
null-pointer: Exported functions
null-pointer-p: Exported functions
null-terminator-len: Internal functions

O
old-arg: Internal generic functions
old-arg: Internal generic functions

P
parse-args-and-types: Internal functions
parse-defcallback-options: Internal functions
parse-defcvar-options: Internal functions
parse-deprecated-struct-type: Internal functions
parse-directories: Internal functions
parse-foreign-enum-like: Internal functions
parse-function-options: Internal functions
parse-name-and-options: Internal functions
parse-type: Internal functions
pointer-address: Exported functions
pointer-eq: Exported functions
pointer-type: Internal generic functions
pointer-type: Internal generic functions
pointerp: Exported functions
promote-varargs-type: Internal functions

R
read-new-value: Internal functions
register-foreign-library: Internal functions
reload-foreign-libraries: Exported functions
report-simple-error: Internal functions
row-major-index-to-indexes: Internal functions

S
Setf Expander, (setf foreign-slot-value): Exported functions
Setf Expander, (setf mem-aref): Exported functions
Setf Expander, (setf mem-ref): Exported functions
simple-foreign-type-error: Internal functions
single-bit-p: Internal functions
size: Internal generic functions
size: Internal generic functions
slot-count: Internal generic functions
slot-count: Internal generic functions
slot-name: Internal generic functions
slot-name: Internal generic functions
slot-offset: Internal generic functions
slot-offset: Internal generic functions
slot-type: Internal generic functions
slot-type: Internal generic functions
slots: Internal generic functions
slots: Internal generic functions
slots-in-order: Internal functions
split-if: Internal functions
structure-by-value-p: Internal functions
structure-slots: Internal functions

T
translate-aggregate-to-foreign: Internal generic functions
translate-aggregate-to-foreign: Internal generic functions
translate-aggregate-to-foreign: Internal generic functions
translate-camelcase-name: Exported generic functions
translate-camelcase-name: Exported generic functions
translate-camelcase-name: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-from-foreign: Exported generic functions
translate-into-foreign-memory: Exported generic functions
translate-into-foreign-memory: Exported generic functions
translate-into-foreign-memory: Exported generic functions
translate-into-foreign-memory: Exported generic functions
translate-into-foreign-memory: Exported generic functions
translate-into-foreign-memory: Exported generic functions
translate-name-from-foreign: Exported generic functions
translate-name-from-foreign: Exported generic functions
translate-name-to-foreign: Exported generic functions
translate-name-to-foreign: Exported generic functions
translate-objects: Internal functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-to-foreign: Exported generic functions
translate-underscore-separated-name: Exported generic functions
translate-underscore-separated-name: Exported generic functions
translate-underscore-separated-name: Exported generic functions
translation-forms-for-class: Exported macros
try-foreign-library-alternatives: Internal functions
type-keyword: Internal generic functions
type-keyword: Internal generic functions

U
undefine-foreign-type: Internal functions
undefined-foreign-type-error: Internal functions
unload-shared-object-present-p: Internal functions
unparse-type: Internal generic functions
unparse-type: Internal generic functions
unparse-type: Internal generic functions
unparse-type: Internal generic functions
unparse-type: Internal generic functions
unparse-type: Internal generic functions
unparsed-type: Internal generic functions
unparsed-type: Internal generic functions
use-foreign-library: Exported macros

V
value-keywords: Internal generic functions
value-keywords: Internal generic functions

W
warn-if-kw-or-belongs-to-cl: Internal functions
warn-obsolete-argument: Internal functions
with-foreign-array: Exported macros
with-foreign-object: Exported macros
with-foreign-objects: Exported macros
with-foreign-pointer: Exported macros
with-foreign-pointer-as-string: Exported macros
with-foreign-slots: Exported macros
with-foreign-string: Exported macros
with-foreign-strings: Exported macros
with-pointer-to-vector-data: Exported macros
with-tentative-type-definition: Internal macros
wrapper-from-c: Internal generic functions
wrapper-from-c: Internal generic functions
wrapper-to-c: Internal generic functions
wrapper-to-c: Internal generic functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   R   S   T   U   V   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
A   B   C   D   E   F   H   K   N   O   P   S   T   U   V  
Index Entry  Section

*
*built-in-float-types*: Exported special variables
*built-in-foreign-types*: Exported special variables
*built-in-integer-types*: Exported special variables
*callbacks*: Internal special variables
*cffi-feature-suffix-map*: Internal special variables
*darwin-framework-directories*: Exported special variables
*default-foreign-encoding*: Exported special variables
*defcstruct-hook*: Internal special variables
*foreign-libraries*: Internal special variables
*foreign-library-directories*: Exported special variables
*foreign-string-mappings*: Internal special variables
*foreign-structures-by-value*: Internal special variables
*other-builtin-types*: Exported special variables
*possible-float-types*: Internal special variables
*runtime-translator-form*: Internal special variables
*type-parsers*: Internal special variables

+
+valid-enum-base-types+: Internal special variables

A
actual-type: Internal classes
alignment: Internal classes

B
bare: Internal classes
bit-index->keyword: Internal classes

C
count: Internal classes

D
dimensions: Internal classes

E
element-type: Internal classes
encoding: Internal classes

F
field-keywords: Internal classes
free-from-foreign: Internal classes
free-to-foreign: Internal classes
from-c: Internal classes

H
handle: Exported classes

K
keyword-values: Internal classes

N
name: Exported classes
name: Internal conditions
name: Internal classes
name: Internal classes
namespace: Internal conditions
new-arg: Internal conditions

O
offset: Internal classes
old-arg: Internal conditions
options: Exported classes

P
pathname: Exported classes
pointer-type: Internal classes

S
size: Internal classes
Slot, actual-type: Internal classes
Slot, alignment: Internal classes
Slot, bare: Internal classes
Slot, bit-index->keyword: Internal classes
Slot, count: Internal classes
Slot, dimensions: Internal classes
Slot, element-type: Internal classes
Slot, encoding: Internal classes
Slot, field-keywords: Internal classes
Slot, free-from-foreign: Internal classes
Slot, free-to-foreign: Internal classes
Slot, from-c: Internal classes
Slot, handle: Exported classes
Slot, keyword-values: Internal classes
Slot, name: Exported classes
Slot, name: Internal conditions
Slot, name: Internal classes
Slot, name: Internal classes
Slot, namespace: Internal conditions
Slot, new-arg: Internal conditions
Slot, offset: Internal classes
Slot, old-arg: Internal conditions
Slot, options: Exported classes
Slot, pathname: Exported classes
Slot, pointer-type: Internal classes
Slot, size: Internal classes
Slot, slots: Internal classes
Slot, spec: Exported classes
Slot, to-c: Internal classes
Slot, type: Exported classes
Slot, type: Internal classes
Slot, type-keyword: Internal classes
Slot, type-name: Internal conditions
Slot, unparsed-type: Internal classes
Slot, value-keywords: Internal classes
slots: Internal classes
spec: Exported classes
Special Variable, *built-in-float-types*: Exported special variables
Special Variable, *built-in-foreign-types*: Exported special variables
Special Variable, *built-in-integer-types*: Exported special variables
Special Variable, *callbacks*: Internal special variables
Special Variable, *cffi-feature-suffix-map*: Internal special variables
Special Variable, *darwin-framework-directories*: Exported special variables
Special Variable, *default-foreign-encoding*: Exported special variables
Special Variable, *defcstruct-hook*: Internal special variables
Special Variable, *foreign-libraries*: Internal special variables
Special Variable, *foreign-library-directories*: Exported special variables
Special Variable, *foreign-string-mappings*: Internal special variables
Special Variable, *foreign-structures-by-value*: Internal special variables
Special Variable, *other-builtin-types*: Exported special variables
Special Variable, *possible-float-types*: Internal special variables
Special Variable, *runtime-translator-form*: Internal special variables
Special Variable, *type-parsers*: Internal special variables
Special Variable, +valid-enum-base-types+: Internal special variables

T
to-c: Internal classes
type: Exported classes
type: Internal classes
type-keyword: Internal classes
type-name: Internal conditions

U
unparsed-type: Internal classes

V
value-keywords: Internal classes

Jump to:   *   +  
A   B   C   D   E   F   H   K   N   O   P   S   T   U   V  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   C   E   F   L   N   O   P   S   T   U  
Index Entry  Section

A
aggregate-struct-slot: Internal classes

C
c-namespace-name: Internal types
cffi: The cffi system
cffi: The cffi package
cffi-error: Internal conditions
cffi-features: The cffi-features package
cffi-sys: The cffi-sys package
Class, aggregate-struct-slot: Internal classes
Class, enhanced-foreign-type: Internal classes
Class, enhanced-typedef: Internal classes
Class, foreign-array-type: Internal classes
Class, foreign-bitfield: Internal classes
Class, foreign-boolean-type: Internal classes
Class, foreign-built-in-type: Internal classes
Class, foreign-enum: Internal classes
Class, foreign-library: Exported classes
Class, foreign-pointer-type: Internal classes
Class, foreign-string+ptr-type: Internal classes
Class, foreign-string-type: Internal classes
Class, foreign-struct-slot: Internal classes
Class, foreign-struct-type: Internal classes
Class, foreign-type: Internal classes
Class, foreign-type-alias: Internal classes
Class, foreign-type-wrapper: Internal classes
Class, foreign-typedef: Internal classes
Class, foreign-union-type: Internal classes
Class, named-foreign-type: Internal classes
Class, simple-struct-slot: Internal classes
Class, translatable-foreign-type: Internal classes
Condition, cffi-error: Internal conditions
Condition, foreign-library-undefined-error: Internal conditions
Condition, foreign-type-error: Internal conditions
Condition, load-foreign-library-error: Exported conditions
Condition, obsolete-argument-warning: Internal conditions
Condition, simple-foreign-type-error: Internal conditions
Condition, undefined-foreign-type-error: Internal conditions

E
enhanced-foreign-type: Internal classes
enhanced-typedef: Internal classes
enum-key: Internal types

F
foreign-array-type: Internal classes
foreign-bitfield: Internal classes
foreign-boolean-type: Internal classes
foreign-built-in-type: Internal classes
foreign-enum: Internal classes
foreign-library: Exported classes
foreign-library-undefined-error: Internal conditions
foreign-pointer: Exported types
foreign-pointer-type: Internal classes
foreign-string+ptr-type: Internal classes
foreign-string-type: Internal classes
foreign-struct-slot: Internal classes
foreign-struct-type: Internal classes
foreign-type: Internal classes
foreign-type-alias: Internal classes
foreign-type-error: Internal conditions
foreign-type-wrapper: Internal classes
foreign-typedef: Internal classes
foreign-union-type: Internal classes

L
load-foreign-library-error: Exported conditions

N
named-foreign-type: Internal classes

O
obsolete-argument-warning: Internal conditions

P
Package, cffi: The cffi package
Package, cffi-features: The cffi-features package
Package, cffi-sys: The cffi-sys package

S
simple-foreign-type-error: Internal conditions
simple-struct-slot: Internal classes
System, cffi: The cffi system

T
translatable-foreign-type: Internal classes
Type, c-namespace-name: Internal types
Type, enum-key: Internal types
Type, foreign-pointer: Exported types

U
undefined-foreign-type-error: Internal conditions

Jump to:   A   C   E   F   L   N   O   P   S   T   U