Common Lisp Package: BINGE-BACKEND

README:

FUNCTION

Private

Undocumented

CONVERT-ARRAY-DIMENSIONS (DIMENSIONS BACKEND)

CONVERT-CONSTANT-EXPRESSION (EXPRESSION BACKEND)

SBCL-FORMAT-COMPOUND (TYPE DECLARATION BACKEND)

UFFI-FORMAT-COMPOUND (TYPE DECLARATION BACKEND)

GENERIC-FUNCTION

Public

C-OBJECT->FFI-NOTATION (OBJECT BACKEND)

Convert a C object into a string according to the syntax of the specific FFI.

C-OBJECT-LISP-NAME (DECLARATION BACKEND)

Return the string of the Lisp name used for the DECLARATION. This may be different from the C name and is affected by BACKEND.

USE-PACKAGES (BACKEND)

Return the list of packages to use in making the package declaration for the FFI. Specialised by every backend.

WRITE-EPILOGUE (OUTPUT-STREAM BACKEND)

Write an epilogue to OUTPUT-STREAM. Specialised by every backend.

WRITE-PROLOGUE (OUTPUT-STREAM BACKEND)

Write a prologue to OUTPUT-STREAM. Specialised by every backend.

Private

FFI-SIZEOF (THING BACKEND)

Generic function that returns the string for the syntax required to get the size of a C type.

SLOT-ACCESSOR

Public

BACKEND-DEFINE-PACKAGE (OBJECT)

If true define it's own package.

SETFBACKEND-DEFINE-PACKAGE (NEW-VALUE OBJECT)

If true define it's own package.

BACKEND-PACKAGE (OBJECT)

Name of the package to write the FFI in.

SETFBACKEND-PACKAGE (NEW-VALUE OBJECT)

Name of the package to write the FFI in.

Private

BACKEND-LIBRARY (OBJECT)

Default library name where to find the C object of the FFI.

SETFBACKEND-LIBRARY (NEW-VALUE OBJECT)

Default library name where to find the C object of the FFI.

BACKEND-PREFIX (OBJECT)

Prefix to add to declared functions/variables/types of the FFI.

SETFBACKEND-PREFIX (NEW-VALUE OBJECT)

Prefix to add to declared functions/variables/types of the FFI.

CLASS

Public

BACKEND

Base class for backend objects. Backend modules must derive another class from it: the C-OBJECT->FFI-NOTATION dispatching mechanism relies on it.

Undocumented

SBCL-BACKEND

UFFI-BACKEND