The cffi-objects Reference Manual

Table of Contents

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

The cffi-objects Reference Manual

This is the cffi-objects Reference Manual, version 0.9.1, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 03:05:03 2018 GMT+0.


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

1 Introduction

CFFI-objects is a library, that enhances CFFI with several new constructions to use when you need to work with complex structures or objects.

It supports structures by-value and by-reference with and without saving C-pointer on lisp side. Also there is type pobject, that allows to send lisp object with pointer slot or C-pointer. No verbose documentation yet, sorry.

License is BSD


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-objects

Author

Roman Klochkov <monk@slavsoft.surgut.ru>

License

BSD

Description

CFFI in-place replacement with object wrappers, structs and arrays

Version

0.9.1

Dependencies
Source

cffi-objects.asd (file)

Components

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

3 Files

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


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

3.1 Lisp


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

3.1.1 cffi-objects.asd

Location

cffi-objects.asd

Systems

cffi-objects (system)

Packages

cffi-object-system


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

3.1.2 cffi-objects/package.lisp

Parent

cffi-objects (system)

Location

package.lisp

Packages

cffi-objects


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

3.1.3 cffi-objects/redefines.lisp

Dependencies
Parent

cffi-objects (system)

Location

redefines.lisp

Exported Definitions

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

3.1.4 cffi-objects/freeable.lisp

Dependency

package.lisp (file)

Parent

cffi-objects (system)

Location

freeable.lisp

Exported Definitions
Internal Definitions

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

3.1.5 cffi-objects/object.lisp

Dependency

freeable.lisp (file)

Parent

cffi-objects (system)

Location

object.lisp

Exported Definitions
Internal Definitions

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

3.1.6 cffi-objects/pfunction.lisp

Dependency

package.lisp (file)

Parent

cffi-objects (system)

Location

pfunction.lisp

Exported Definitions

pfunction (class)


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

3.1.7 cffi-objects/setters.lisp

Dependency

package.lisp (file)

Parent

cffi-objects (system)

Location

setters.lisp

Exported Definitions
Internal Definitions

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

3.1.8 cffi-objects/array.lisp

Dependency

struct.lisp (file)

Parent

cffi-objects (system)

Location

array.lisp

Exported Definitions
Internal Definitions

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

3.1.9 cffi-objects/struct.lisp

Dependencies
Parent

cffi-objects (system)

Location

struct.lisp

Exported Definitions
Internal Definitions

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

4 Packages

Packages are listed by definition order.


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

4.1 cffi-object-system

Source

cffi-objects.asd

Use List

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

4.2 cffi-objects

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5 Definitions

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


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

5.1 Exported definitions


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

5.1.1 Special variables

Special Variable: *array-length*
Package

cffi-objects

Source

array.lisp (file)

Special Variable: *objects*

Hash table: foreign-pointer address as integer -> lisp object

Package

cffi-objects

Source

object.lisp (file)

Special Variable: *objects-ids*

Hash table: atom -> lisp object

Package

cffi-objects

Source

object.lisp (file)


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

5.1.2 Macros

Macro: clear-setters CLASS
Package

cffi-objects

Source

setters.lisp (file)

Macro: defbitaccessors CLASS SLOT &rest FIELDS
Package

cffi-objects

Source

struct.lisp (file)

Macro: defcstruct* CLASS &body BODY
Package

cffi-objects

Source

struct.lisp (file)

Macro: defcstruct-accessors CLASS &rest FIELDS

CLASS may be symbol = class-name = struct name, or may be cons (class-name . struct-name)

Package

cffi-objects

Source

struct.lisp (file)

Macro: init-slots CLASS &optional ADD-KEYS &body BODY

For SETF-INIT auto-constructor

Package

cffi-objects

Source

setters.lisp (file)

Macro: remove-setter CLASS NAME

Use this to unregister setters for SETF-INIT and INIT-SLOTS macro

Package

cffi-objects

Source

setters.lisp (file)

Macro: save-setter CLASS NAME

Use this to register setters for SETF-INIT and INIT-SLOTS macro

Package

cffi-objects

Source

setters.lisp (file)

Macro: setf-init OBJECT &rest FIELDS

Should be used in constructors

Package

cffi-objects

Source

setters.lisp (file)

Macro: with-foreign-out (VAR TYPE &optional COUNT) RETURN-RESULT &body BODY

The same as WITH-FOREIGN-OBJECT, but returns value of object

Package

cffi-objects

Source

struct.lisp (file)

Macro: with-foreign-outs BINDINGS RETURN-RESULT &body BODY

The same as WITH-FOREIGN-OBJECTS, but returns (values ...) of result and binded vars, RETURN-RESULT may be :RETURN - return result and values
:IF-SUCCESS - return values if result t
:IGNORE - discard result

Package

cffi-objects

Source

struct.lisp (file)

Macro: with-foreign-outs-list BINDINGS RETURN-RESULT &body BODY

The same as WITH-FOREIGN-OBJECTS, but returns list

Package

cffi-objects

Source

struct.lisp (file)


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

5.1.3 Functions

Function: find-object POINTER &optional CLASS

Returns lisp object for an Object pointer.
If not found or found with wrong class, create new one with given CLASS

Package

cffi-objects

Source

object.lisp (file)

Function: free-returned-if-needed CFFI-TYPE PTR

This function should be placed in appropriate place of translate-from-foreign

Package

cffi-objects

Source

freeable.lisp (file)

Function: free-sent-if-needed CFFI-TYPE PTR PARAM

This function should be placed in appropriate place of free-translated-object

Package

cffi-objects

Source

freeable.lisp (file)

Function: initialize OBJ FIELDS

Used when you need to mark, that FIELDS already initialized

Package

cffi-objects

Source

setters.lisp (file)

Function: object-by-id ID-KEY
Package

cffi-objects

Source

object.lisp (file)

Function: pair MAYBE-PAIR
Package

cffi-objects

Source

struct.lisp (file)


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

5.1.4 Generic functions

Generic Function: copy-from-foreign CFFI-TYPE PTR PLACE

Transfers data from pointer PTR to PLACE. CFFI-TYPE: type defined with define-foreign-type. PTR: foreign pointer
PLACE: third parameter of free-translated-object == returned second value of translate-to-foreign

Package

cffi-objects

Source

freeable.lisp (file)

Methods
Method: copy-from-foreign (TYPE cffi-object) PTR PLACE
Source

struct.lisp (file)

Generic Function: free OBJECT

Removes object pointer from lisp hashes.

Package

cffi-objects

Source

object.lisp (file)

Methods
Method: free (OBJECT object)
Generic Function: free-ptr TYPE PTR

Called to free ptr, unless overriden free-sent-ptr
or free-returned-ptr. TYPE should be symbol and be specialized with EQL

Package

cffi-objects

Source

freeable.lisp (file)

Methods
Method: free-ptr (TYPE (eql cffi-keyword)) PTR
Source

redefines.lisp (file)

Method: free-ptr TYPE PTR
Generic Function: free-returned-ptr CFFI-TYPE PTR

Will be called in translate-from-foreign after conversion. CFFI-TYPE: type defined with define-foreign-type.
PTR: foreign pointer

Package

cffi-objects

Source

freeable.lisp (file)

Methods
Method: free-returned-ptr (TYPE cffi-struct) PTR
Source

struct.lisp (file)

Method: free-returned-ptr (CFFI-TYPE freeable-base) PTR
Generic Function: free-sent-ptr CFFI-TYPE PTR PARAM

Will be called in free-translated-object. CFFI-TYPE: type defined with define-foreign-type. PTR: foreign pointer
PARAM: third parameter of free-translated-object == returned second value of translate-to-foreign.

Package

cffi-objects

Source

freeable.lisp (file)

Methods
Method: free-sent-ptr (TYPE cffi-struct) PTR PLACE
Source

struct.lisp (file)

Method: free-sent-ptr (CFFI-TYPE freeable-base) PTR PARAM
Generic Function: free-struct CLASS VALUE
Package

cffi-objects

Source

struct.lisp (file)

Methods
Method: free-struct CLASS VALUE
Generic Function: gconstructor OBJECT &rest INITARGS &key NEW-STRUCT &allow-other-keys

Called during initialization of OBJECT instance. Should return a pointer to foreign OBJECT instance, for example, by g_object_new.

Package

cffi-objects

Source

object.lisp (file)

Methods
Method: gconstructor (STRUCT struct) &rest INITARGS &key NEW-STRUCT &allow-other-keys
Source

struct.lisp (file)

Method: gconstructor SOMETHING-BAD &rest REST
Generic Function: new-struct CLASS
Package

cffi-objects

Source

struct.lisp (file)

Methods
Method: new-struct CLASS
Generic Function: object-class OBJECT
Generic Function: (setf object-class) NEW-VALUE OBJECT
Package

cffi-objects

Methods
Method: object-class (CFFI-OBJECT cffi-object)

automatically generated reader method

Source

object.lisp (file)

Method: (setf object-class) NEW-VALUE (CFFI-OBJECT cffi-object)

automatically generated writer method

Source

object.lisp (file)

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

cffi-objects

Methods
Method: pointer SOMETHING-BAD

Empty method to return null-pointer for non-objects

Source

object.lisp (file)

Method: pointer (OBJECT object)

automatically generated reader method

Source

object.lisp (file)

Method: (setf pointer) NEW-VALUE (OBJECT object)

automatically generated writer method

Source

object.lisp (file)

Method: (setf pointer) VALUE (OBJECT object) after
Source

object.lisp (file)

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

cffi-objects

Methods
Method: volatile (OBJECT object)
Method: (setf volatile) NEW-VALUE (OBJECT object)

Will not be saved in hash

Source

object.lisp (file)


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

5.1.5 Classes

Class: cffi-array ()
Package

cffi-objects

Source

array.lisp (file)

Direct superclasses

freeable (class)

Direct methods
  • translate-from-foreign (method)
  • translate-to-foreign (method)
  • element-type (method)
  • element-type (method)
Direct slots
Slot: element-type
Initargs

:type

Readers

element-type (generic function)

Writers

(setf element-type) (generic function)

Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: cffi-keyword ()
Package

cffi-objects

Source

redefines.lisp (file)

Direct superclasses

freeable (class)

Direct methods
  • translate-to-foreign (method)
  • translate-to-foreign (method)
Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: cffi-null-array ()
Package

cffi-objects

Source

array.lisp (file)

Direct superclasses

freeable (class)

Direct methods
  • translate-from-foreign (method)
  • translate-to-foreign (method)
  • element-type (method)
  • element-type (method)
Direct slots
Slot: element-type
Initargs

:type

Readers

element-type (generic function)

Writers

(setf element-type) (generic function)

Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: cffi-object ()
Package

cffi-objects

Source

object.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct subclasses

cffi-struct (class)

Direct methods
  • translate-to-foreign (method)
  • copy-from-foreign (method)
  • translate-from-foreign (method)
  • translate-to-foreign (method)
  • translate-to-foreign (method)
  • translate-to-foreign (method)
  • object-class (method)
  • object-class (method)
Direct slots
Slot: class
Initargs

:class

Readers

object-class (generic function)

Writers

(setf object-class) (generic function)

Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: cffi-pathname ()
Package

cffi-objects

Source

redefines.lisp (file)

Direct superclasses

freeable (class)

Direct methods
  • translate-to-foreign (method)
  • translate-to-foreign (method)
Direct Default Initargs
InitargValue
:actual-type(quote (:string))
Class: cffi-struct ()
Package

cffi-objects

Source

struct.lisp (file)

Direct superclasses
Direct methods
Direct Default Initargs
InitargValue
:actual-type(quote (:pointer))
Class: freeable ()

Mixing to auto-set translators

Package

cffi-objects

Source

freeable.lisp (file)

Direct superclasses

freeable-base (class)

Direct subclasses
Direct methods
  • translate-from-foreign (method)
  • free-translated-object (method)
Class: freeable-base ()
Package

cffi-objects

Source

freeable.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct subclasses

freeable (class)

Direct methods
Direct slots
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)

Class: freeable-out ()

For returning data in out params.
If OUT is t, then translate-to-foreign MUST return (values ptr place)

Package

cffi-objects

Source

freeable.lisp (file)

Direct superclasses

freeable (class)

Direct subclasses

cffi-struct (class)

Direct methods
  • free-translated-object (method)
  • object-out (method)
  • object-out (method)
Direct slots
Slot: out

This is out param (for fill in foreign side)

Initargs

:out

Readers

object-out (generic function)

Writers

(setf object-out) (generic function)

Class: object ()

Lisp wrapper for any object. VOLATILE slot set when object shouldn’t be stored in *OBJECTS*. Stored pointer GC’ed, if VOLATILE.

Package

cffi-objects

Source

object.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

struct (class)

Direct methods
  • translate-to-foreign (method)
  • translate-to-foreign (method)
  • free (method)
  • shared-initialize (method)
  • (setf pointer) (method)
  • id (method)
  • id (method)
  • volatile (method)
  • volatile (method)
  • pointer (method)
  • pointer (method)
Direct slots
Slot: pointer
Type

cffi-sys:foreign-pointer

Initargs

:pointer

Initform

(cffi-sys:null-pointer)

Readers

pointer (generic function)

Writers

(setf pointer) (generic function)

Slot: volatile

Will not be saved in hash

Type

boolean

Initargs

:volatile

Initform

t

Readers

volatile (generic function)

Writers

(setf volatile) (generic function)

Slot: free-after

Should be freed by finalizer or FREE

Type

boolean

Initargs

:free-after

Initform

t

Slot: initialized

For SETF-INIT. To avoid double init

Type

list

Slot: id
Type

symbol

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Class: pfunction ()

Takes a foreign pointer, keyword or a string.
Keyword or a string = name of C function, substituting #- to #_

Package

cffi-objects

Source

pfunction.lisp (file)

Direct superclasses

enhanced-foreign-type (class)

Direct methods

translate-to-foreign (method)

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

If value bound, use it, else use pointer.
Struct may be used in OBJECT cffi-type or STRUCT cffi-type

Package

cffi-objects

Source

struct.lisp (file)

Direct superclasses

object (class)

Direct methods
Direct slots
Slot: value

plist ({field-name field-value}*)


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

5.2 Internal definitions


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

5.2.1 Macros

Macro: defaccessor NAME C-NAME CLASS &body BODY
Package

cffi-objects

Source

struct.lisp (file)


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

5.2.2 Functions

Function: %class TYPE VALUE
Package

cffi-objects

Source

struct.lisp (file)

Function: clos->new-struct CLASS OBJECT
Package

cffi-objects

Source

struct.lisp (file)

Function: clos->struct CLASS OBJECT STRUCT
Package

cffi-objects

Source

struct.lisp (file)

Function: from-foreign VAR TYPE COUNT

VAR - symbol; type - symbol or list – CFFI type; count – integer

Package

cffi-objects

Source

struct.lisp (file)

Function: initialized OBJ FIELD
Package

cffi-objects

Source

setters.lisp (file)

Function: name-p NAME
Package

cffi-objects

Source

setters.lisp (file)

Function: parse-struct BODY
Package

cffi-objects

Source

struct.lisp (file)

Function: ptr-struct PTR TYPE I
Package

cffi-objects

Source

struct.lisp (file)

Function: slot-accessor DESIGNATOR
Package

cffi-objects

Source

struct.lisp (file)

Function: struct->clos CLASS STRUCT &optional OBJECT

Translates pointer STRUCT to object OBJECT (if not supplied, then to new object).
I suppose, that by default it should convert data from pointer to struct. Only exception is the presence of OBJECT with not boundp value

Package

cffi-objects

Source

struct.lisp (file)

Function: struct-p TYPE
Package

cffi-objects

Source

struct.lisp (file)

Function: struct-type TYPE
Package

cffi-objects

Source

struct.lisp (file)


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

5.2.3 Generic functions

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

cffi-objects

Methods
Method: element-type (CFFI-NULL-ARRAY cffi-null-array)

automatically generated reader method

Source

array.lisp (file)

Method: (setf element-type) NEW-VALUE (CFFI-NULL-ARRAY cffi-null-array)

automatically generated writer method

Source

array.lisp (file)

Method: element-type (CFFI-ARRAY cffi-array)

automatically generated reader method

Source

array.lisp (file)

Method: (setf element-type) NEW-VALUE (CFFI-ARRAY cffi-array)

automatically generated writer method

Source

array.lisp (file)

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

cffi-objects

Methods
Method: fst-free-from-foreign-p (FREEABLE-BASE freeable-base)

automatically generated reader method

Source

freeable.lisp (file)

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

cffi-objects

Methods
Method: fst-free-to-foreign-p (FREEABLE-BASE freeable-base)

automatically generated reader method

Source

freeable.lisp (file)

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

cffi-objects

Methods
Method: id (OBJECT object)

automatically generated reader method

Source

object.lisp (file)

Method: (setf id) NEW-VALUE (OBJECT object)

automatically generated writer method

Source

object.lisp (file)

Generic Function: object-out OBJECT
Generic Function: (setf object-out) NEW-VALUE OBJECT
Package

cffi-objects

Methods
Method: object-out (FREEABLE-OUT freeable-out)
Method: (setf object-out) NEW-VALUE (FREEABLE-OUT freeable-out)

This is out param (for fill in foreign side)

Source

freeable.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cffi-objects.asd: The cffi-objects<dot>asd file
cffi-objects/array.lisp: The cffi-objects/array<dot>lisp file
cffi-objects/freeable.lisp: The cffi-objects/freeable<dot>lisp file
cffi-objects/object.lisp: The cffi-objects/object<dot>lisp file
cffi-objects/package.lisp: The cffi-objects/package<dot>lisp file
cffi-objects/pfunction.lisp: The cffi-objects/pfunction<dot>lisp file
cffi-objects/redefines.lisp: The cffi-objects/redefines<dot>lisp file
cffi-objects/setters.lisp: The cffi-objects/setters<dot>lisp file
cffi-objects/struct.lisp: The cffi-objects/struct<dot>lisp file

F
File, Lisp, cffi-objects.asd: The cffi-objects<dot>asd file
File, Lisp, cffi-objects/array.lisp: The cffi-objects/array<dot>lisp file
File, Lisp, cffi-objects/freeable.lisp: The cffi-objects/freeable<dot>lisp file
File, Lisp, cffi-objects/object.lisp: The cffi-objects/object<dot>lisp file
File, Lisp, cffi-objects/package.lisp: The cffi-objects/package<dot>lisp file
File, Lisp, cffi-objects/pfunction.lisp: The cffi-objects/pfunction<dot>lisp file
File, Lisp, cffi-objects/redefines.lisp: The cffi-objects/redefines<dot>lisp file
File, Lisp, cffi-objects/setters.lisp: The cffi-objects/setters<dot>lisp file
File, Lisp, cffi-objects/struct.lisp: The cffi-objects/struct<dot>lisp file

L
Lisp File, cffi-objects.asd: The cffi-objects<dot>asd file
Lisp File, cffi-objects/array.lisp: The cffi-objects/array<dot>lisp file
Lisp File, cffi-objects/freeable.lisp: The cffi-objects/freeable<dot>lisp file
Lisp File, cffi-objects/object.lisp: The cffi-objects/object<dot>lisp file
Lisp File, cffi-objects/package.lisp: The cffi-objects/package<dot>lisp file
Lisp File, cffi-objects/pfunction.lisp: The cffi-objects/pfunction<dot>lisp file
Lisp File, cffi-objects/redefines.lisp: The cffi-objects/redefines<dot>lisp file
Lisp File, cffi-objects/setters.lisp: The cffi-objects/setters<dot>lisp file
Lisp File, cffi-objects/struct.lisp: The cffi-objects/struct<dot>lisp file

Jump to:   C   F   L  

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

A.2 Functions

Jump to:   %   (  
C   D   E   F   G   I   M   N   O   P   R   S   V   W  
Index Entry  Section

%
%class: Internal functions

(
(setf element-type): Internal generic functions
(setf element-type): Internal generic functions
(setf element-type): Internal generic functions
(setf id): Internal generic functions
(setf id): Internal generic functions
(setf object-class): Exported generic functions
(setf object-class): Exported generic functions
(setf object-out): Internal generic functions
(setf object-out): Internal generic functions
(setf pointer): Exported generic functions
(setf pointer): Exported generic functions
(setf pointer): Exported generic functions
(setf volatile): Exported generic functions
(setf volatile): Exported generic functions

C
clear-setters: Exported macros
clos->new-struct: Internal functions
clos->struct: Internal functions
copy-from-foreign: Exported generic functions
copy-from-foreign: Exported generic functions

D
defaccessor: Internal macros
defbitaccessors: Exported macros
defcstruct*: Exported macros
defcstruct-accessors: Exported macros

E
element-type: Internal generic functions
element-type: Internal generic functions
element-type: Internal generic functions

F
find-object: Exported functions
free: Exported generic functions
free: Exported generic functions
free-ptr: Exported generic functions
free-ptr: Exported generic functions
free-ptr: Exported generic functions
free-returned-if-needed: Exported functions
free-returned-ptr: Exported generic functions
free-returned-ptr: Exported generic functions
free-returned-ptr: Exported generic functions
free-sent-if-needed: Exported functions
free-sent-ptr: Exported generic functions
free-sent-ptr: Exported generic functions
free-sent-ptr: Exported generic functions
free-struct: Exported generic functions
free-struct: Exported generic functions
from-foreign: 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, %class: Internal functions
Function, clos->new-struct: Internal functions
Function, clos->struct: Internal functions
Function, find-object: Exported functions
Function, free-returned-if-needed: Exported functions
Function, free-sent-if-needed: Exported functions
Function, from-foreign: Internal functions
Function, initialize: Exported functions
Function, initialized: Internal functions
Function, name-p: Internal functions
Function, object-by-id: Exported functions
Function, pair: Exported functions
Function, parse-struct: Internal functions
Function, ptr-struct: Internal functions
Function, slot-accessor: Internal functions
Function, struct->clos: Internal functions
Function, struct-p: Internal functions
Function, struct-type: Internal functions

G
gconstructor: Exported generic functions
gconstructor: Exported generic functions
gconstructor: Exported generic functions
Generic Function, (setf element-type): Internal generic functions
Generic Function, (setf id): Internal generic functions
Generic Function, (setf object-class): Exported generic functions
Generic Function, (setf object-out): Internal generic functions
Generic Function, (setf pointer): Exported generic functions
Generic Function, (setf volatile): Exported generic functions
Generic Function, copy-from-foreign: Exported generic functions
Generic Function, element-type: Internal generic functions
Generic Function, free: Exported generic functions
Generic Function, free-ptr: Exported generic functions
Generic Function, free-returned-ptr: Exported generic functions
Generic Function, free-sent-ptr: Exported generic functions
Generic Function, free-struct: 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, gconstructor: Exported generic functions
Generic Function, id: Internal generic functions
Generic Function, new-struct: Exported generic functions
Generic Function, object-class: Exported generic functions
Generic Function, object-out: Internal generic functions
Generic Function, pointer: Exported generic functions
Generic Function, volatile: Exported generic functions

I
id: Internal generic functions
id: Internal generic functions
init-slots: Exported macros
initialize: Exported functions
initialized: Internal functions

M
Macro, clear-setters: Exported macros
Macro, defaccessor: Internal macros
Macro, defbitaccessors: Exported macros
Macro, defcstruct*: Exported macros
Macro, defcstruct-accessors: Exported macros
Macro, init-slots: Exported macros
Macro, remove-setter: Exported macros
Macro, save-setter: Exported macros
Macro, setf-init: Exported macros
Macro, with-foreign-out: Exported macros
Macro, with-foreign-outs: Exported macros
Macro, with-foreign-outs-list: Exported macros
Method, (setf element-type): Internal generic functions
Method, (setf element-type): Internal generic functions
Method, (setf id): Internal generic functions
Method, (setf object-class): Exported generic functions
Method, (setf object-out): Internal generic functions
Method, (setf pointer): Exported generic functions
Method, (setf pointer): Exported generic functions
Method, (setf volatile): Exported generic functions
Method, copy-from-foreign: Exported generic functions
Method, element-type: Internal generic functions
Method, element-type: Internal generic functions
Method, free: Exported generic functions
Method, free-ptr: Exported generic functions
Method, free-ptr: Exported generic functions
Method, free-returned-ptr: Exported generic functions
Method, free-returned-ptr: Exported generic functions
Method, free-sent-ptr: Exported generic functions
Method, free-sent-ptr: Exported generic functions
Method, free-struct: Exported generic functions
Method, fst-free-from-foreign-p: Internal generic functions
Method, fst-free-to-foreign-p: Internal generic functions
Method, gconstructor: Exported generic functions
Method, gconstructor: Exported generic functions
Method, id: Internal generic functions
Method, new-struct: Exported generic functions
Method, object-class: Exported generic functions
Method, object-out: Internal generic functions
Method, pointer: Exported generic functions
Method, pointer: Exported generic functions
Method, volatile: Exported generic functions

N
name-p: Internal functions
new-struct: Exported generic functions
new-struct: Exported generic functions

O
object-by-id: Exported functions
object-class: Exported generic functions
object-class: Exported generic functions
object-out: Internal generic functions
object-out: Internal generic functions

P
pair: Exported functions
parse-struct: Internal functions
pointer: Exported generic functions
pointer: Exported generic functions
pointer: Exported generic functions
ptr-struct: Internal functions

R
remove-setter: Exported macros

S
save-setter: Exported macros
setf-init: Exported macros
slot-accessor: Internal functions
struct->clos: Internal functions
struct-p: Internal functions
struct-type: Internal functions

V
volatile: Exported generic functions
volatile: Exported generic functions

W
with-foreign-out: Exported macros
with-foreign-outs: Exported macros
with-foreign-outs-list: Exported macros

Jump to:   %   (  
C   D   E   F   G   I   M   N   O   P   R   S   V   W  

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

A.3 Variables

Jump to:   *  
C   E   F   I   O   P   S   V  
Index Entry  Section

*
*array-length*: Exported special variables
*objects*: Exported special variables
*objects-ids*: Exported special variables

C
class: Exported classes

E
element-type: Exported classes
element-type: Exported classes

F
free-after: Exported classes
free-from-foreign: Exported classes
free-to-foreign: Exported classes

I
id: Exported classes
initialized: Exported classes

O
out: Exported classes

P
pointer: Exported classes

S
Slot, class: Exported classes
Slot, element-type: Exported classes
Slot, element-type: Exported classes
Slot, free-after: Exported classes
Slot, free-from-foreign: Exported classes
Slot, free-to-foreign: Exported classes
Slot, id: Exported classes
Slot, initialized: Exported classes
Slot, out: Exported classes
Slot, pointer: Exported classes
Slot, value: Exported classes
Slot, volatile: Exported classes
Special Variable, *array-length*: Exported special variables
Special Variable, *objects*: Exported special variables
Special Variable, *objects-ids*: Exported special variables

V
value: Exported classes
volatile: Exported classes

Jump to:   *  
C   E   F   I   O   P   S   V  

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

A.4 Data types

Jump to:   C   F   O   P   S  
Index Entry  Section

C
cffi-array: Exported classes
cffi-keyword: Exported classes
cffi-null-array: Exported classes
cffi-object: Exported classes
cffi-object-system: The cffi-object-system package
cffi-objects: The cffi-objects system
cffi-objects: The cffi-objects package
cffi-pathname: Exported classes
cffi-struct: Exported classes
Class, cffi-array: Exported classes
Class, cffi-keyword: Exported classes
Class, cffi-null-array: Exported classes
Class, cffi-object: Exported classes
Class, cffi-pathname: Exported classes
Class, cffi-struct: Exported classes
Class, freeable: Exported classes
Class, freeable-base: Exported classes
Class, freeable-out: Exported classes
Class, object: Exported classes
Class, pfunction: Exported classes
Class, struct: Exported classes

F
freeable: Exported classes
freeable-base: Exported classes
freeable-out: Exported classes

O
object: Exported classes

P
Package, cffi-object-system: The cffi-object-system package
Package, cffi-objects: The cffi-objects package
pfunction: Exported classes

S
struct: Exported classes
System, cffi-objects: The cffi-objects system

Jump to:   C   F   O   P   S