This is the affinity Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Jul 13 21:20:33 2025 GMT+0.
affinity/affinity.asd
affinity/src/package.lisp
affinity/src/readtable.lisp
affinity/src/types.lisp
affinity/src/slots.lisp
affinity/src/primitive.lisp
affinity/src/functions.lisp
affinity/src/pointer.lisp
affinity/src/structure.lisp
affinity/src/string.lisp
affinity/src/list-array.lisp
affinity/src/list-ptr.lisp
The main system appears first, followed by any subsystem dependency.
affinity
A higher layer of abstraction over CFFI.
Hector Galbis Sanchis <hectometrocuadrado@gmail.com>
MIT
cffi
(system).
clith
(system).
alexandria
(system).
named-readtables
(system).
allioli
(system).
expanders
(system).
src/package.lisp
(file).
src/readtable.lisp
(file).
src
(module).
Modules are listed depth-first from the system components tree.
affinity/src
src/readtable.lisp
(file).
affinity
(system).
types.lisp
(file).
slots.lisp
(file).
primitive.lisp
(file).
functions.lisp
(file).
pointer.lisp
(file).
structure.lisp
(file).
string.lisp
(file).
list-array.lisp
(file).
list-ptr.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
affinity/affinity.asd
affinity/src/package.lisp
affinity/src/readtable.lisp
affinity/src/types.lisp
affinity/src/slots.lisp
affinity/src/primitive.lisp
affinity/src/functions.lisp
affinity/src/pointer.lisp
affinity/src/structure.lisp
affinity/src/string.lisp
affinity/src/list-array.lisp
affinity/src/list-ptr.lisp
affinity/src/readtable.lisp
src/package.lisp
(file).
affinity
(system).
affinity/src/types.lisp
src
(module).
defctype
(macro).
affi-to-cffi
(function).
affi-to-primitive-affi
(function).
affi-type-alias-p
(function).
affi-type-name
(function).
affi-type-p
(function).
affi-type-to-string
(function).
canonicalize-affi-type
(function).
check-affi-type
(function).
check-primitive-affi-type
(function).
check-user-affi-type
(function).
define-affi-type
(macro).
define-affi-type%
(macro).
define-primitive-affi-type
(macro).
expand-getter
(generic function).
expand-setter
(generic function).
parse-affi-type
(function).
parse-primitive-affi-type
(function).
parse-user-affi-type
(function).
primitive-affi-to-cffi
(function).
primitive-affi-type
(class).
primitive-affi-type-p
(function).
user-affi-to-cffi
(function).
user-affi-to-primitive-affi
(function).
user-affi-type
(class).
user-affi-type-p
(function).
affinity/src/slots.lisp
types.lisp
(file).
src
(module).
*options*
(special variable).
check-slot-syntax
(function).
parse-slot
(function).
slot
(class).
slot-affi-type
(reader method).
slot-cffi-type
(reader method).
slot-expand-getter
(function).
slot-expand-setter
(function).
slot-foreign-p
(function).
slot-init
(reader method).
slot-name
(reader method).
slot-private
(reader method).
slot-public-p
(function).
affinity/src/primitive.lisp
slots.lisp
(file).
src
(module).
define-basic-primitive-types
(macro).
affinity/src/functions.lisp
primitive.lisp
(file).
src
(module).
defcallback
(macro).
defcfun
(macro).
define-c-function
(macro).
define-callback-definer
(macro).
translate-from-foreign
(method).
translate-to-foreign
(method).
defcallback-bindings
(function).
defcallback-callback
(function).
defcallback-function-form
(function).
expand-getter
(method).
expand-setter
(method).
foreign-function-type
(class).
function-lens-type
(class).
function-obj
(class).
function-ref-to-pointer
(function).
make-bindings
(function).
make-foreign-funcall
(function).
make-function-form
(function).
make-result-form
(function).
make-setters
(function).
affinity/src/pointer.lisp
functions.lisp
(file).
src
(module).
foreign-alloc
(function).
free-translated-object
(method).
mem-ref
(function).
(setf mem-ref)
(function).
slot-missing
(method).
slot-missing
(method).
translate-from-foreign
(method).
translate-to-foreign
(method).
cast-pointer
(function).
foreign-free
(function).
foreign-slot-pointer
(function).
foreign-slot-value
(function).
(setf foreign-slot-value)
(function).
foreign-symbol-pointer
(function).
get-structure-value
(generic function).
(setf get-structure-value)
(generic function).
inc-pointer
(function).
incf-pointer
(macro).
make-foreign-slot-binding
(function).
make-pointer
(function).
mem-aptr
(function).
mem-aref
(function).
(setf mem-aref)
(function).
null-pointer
(function).
null-pointer-p
(function).
own-pointer
(method).
owns-pointer-p
(method).
pointer
(class).
pointer-address
(function).
pointer-eq
(function).
pointer-type
(class).
pointerp
(function).
release-pointer
(method).
with-foreign-object
(macro).
with-foreign-pointer
(macro).
with-foreign-slots
(macro).
affinity/src/structure.lisp
pointer.lisp
(file).
src
(module).
compute-effective-slot-definition
(method).
compute-slots
(method).
defcstruct
(macro).
direct-slot-definition-class
(method).
effective-slot-definition-class
(method).
(setf slot-value-using-class)
(method).
slot-value-using-class
(method).
validate-superclass
(method).
affinity-class
(class).
affinity-direct-slot-definition
(class).
affinity-effective-slot-definition
(class).
affinity-slot-definition
(class).
cstruct-from-cffi-memory
(function).
cstruct-into-cffi-memory
(function).
make-accessors
(function).
make-defclass
(function).
make-defcstruct
(function).
make-object-accessor-context
(function).
make-pointer-accessor-context
(function).
make-translators
(function).
object-foreign-slot-value
(generic function).
(setf object-foreign-slot-value)
(generic function).
pointer-foreign-slot-value
(generic function).
(setf pointer-foreign-slot-value)
(generic function).
public-slot-name-p
(function).
affinity/src/string.lisp
structure.lisp
(file).
src
(module).
translate-from-foreign
(method).
translate-into-foreign-memory
(method).
translate-to-foreign
(method).
foreign-string-alloc
(function).
string-array-type
(class).
string-ptr-type
(class).
translate-aggregate-to-foreign
(method).
affinity/src/list-array.lisp
string.lisp
(file).
src
(module).
free-translated-object
(method).
translate-from-foreign
(method).
translate-into-foreign-memory
(method).
translate-to-foreign
(method).
list-array
(class).
translate-aggregate-to-foreign
(method).
affinity/src/list-ptr.lisp
list-array.lisp
(file).
src
(module).
expand-getter
(method).
expand-setter
(method).
list-ptr
(class).
Packages are listed by definition order.
affinity
affi
alexandria
.
clith
.
common-lisp
.
editor-hints.named-readtables
.
defcallback
(macro).
defcfun
(macro).
defcstruct
(macro).
defctype
(macro).
define-c-function
(macro).
define-callback-definer
(macro).
foreign-alloc
(function).
mem-ref
(function).
(setf mem-ref)
(function).
*options*
(special variable).
affi-to-cffi
(function).
affi-to-primitive-affi
(function).
affi-type-alias-p
(function).
affi-type-name
(function).
affi-type-p
(function).
affi-type-to-string
(function).
affinity-class
(class).
affinity-direct-slot-definition
(class).
affinity-effective-slot-definition
(class).
affinity-slot-definition
(class).
canonicalize-affi-type
(function).
cast-pointer
(function).
check-affi-type
(function).
check-primitive-affi-type
(function).
check-slot-syntax
(function).
check-user-affi-type
(function).
cstruct-from-cffi-memory
(function).
cstruct-into-cffi-memory
(function).
defcallback-bindings
(function).
defcallback-callback
(function).
defcallback-function-form
(function).
define-affi-type
(macro).
define-affi-type%
(macro).
define-basic-primitive-types
(macro).
define-primitive-affi-type
(macro).
expand-getter
(generic function).
expand-setter
(generic function).
foreign-free
(function).
foreign-function-type
(class).
foreign-slot-pointer
(function).
foreign-slot-value
(function).
(setf foreign-slot-value)
(function).
foreign-string-alloc
(function).
foreign-symbol-pointer
(function).
function-lens-type
(class).
function-obj
(class).
function-ref-to-pointer
(function).
get-structure-value
(generic function).
(setf get-structure-value)
(generic function).
inc-pointer
(function).
incf-pointer
(macro).
list-array
(class).
list-ptr
(class).
make-accessors
(function).
make-bindings
(function).
make-defclass
(function).
make-defcstruct
(function).
make-foreign-funcall
(function).
make-foreign-slot-binding
(function).
make-function-form
(function).
make-object-accessor-context
(function).
make-pointer
(function).
make-pointer-accessor-context
(function).
make-result-form
(function).
make-setters
(function).
make-translators
(function).
mem-aptr
(function).
mem-aref
(function).
(setf mem-aref)
(function).
null-pointer
(function).
null-pointer-p
(function).
object-foreign-slot-value
(generic function).
(setf object-foreign-slot-value)
(generic function).
own-pointer
(generic function).
owner
(class).
owns-pointer-p
(generic function).
parse-affi-type
(function).
parse-primitive-affi-type
(function).
parse-slot
(function).
parse-user-affi-type
(function).
pointer
(class).
pointer-address
(function).
pointer-eq
(function).
pointer-foreign-slot-value
(generic function).
(setf pointer-foreign-slot-value)
(generic function).
pointer-type
(class).
pointerp
(function).
primitive-affi-to-cffi
(function).
primitive-affi-type
(class).
primitive-affi-type-p
(function).
public-slot-name-p
(function).
release-pointer
(generic function).
slot
(class).
slot-affi-type
(generic reader).
slot-cffi-type
(generic reader).
slot-expand-getter
(function).
slot-expand-setter
(function).
slot-foreign-p
(function).
slot-init
(generic reader).
slot-name
(generic reader).
slot-private
(generic reader).
slot-public-p
(function).
string-array-type
(class).
string-ptr-type
(class).
user-affi-to-cffi
(function).
user-affi-to-primitive-affi
(function).
user-affi-type
(class).
user-affi-type-p
(function).
with-foreign-object
(macro).
with-foreign-pointer
(macro).
with-foreign-slots
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
affinity-class
) name direct-slots) ¶sb-mop
.
affinity-class
)) ¶sb-mop
.
affinity-class
) &rest initargs) ¶sb-mop
.
affinity-class
) &rest initargs) ¶sb-mop
.
pointer-type
) param) ¶cffi
.
list-array
) param) ¶cffi
.
pointer
) slot-name (op (eql slot-value)
) &optional new-value) ¶affinity-class
) object (slot affinity-effective-slot-definition
)) ¶sb-mop
.
affinity-class
) object (slot affinity-effective-slot-definition
)) ¶sb-mop
.
foreign-function-type
)) ¶cffi
.
pointer-type
)) ¶cffi
.
list-array
)) ¶cffi
.
string-ptr-type
)) ¶cffi
.
string
) (obj-type string-array-type
) pointer) ¶cffi
.
list
) (obj-type list-array
) pointer) ¶cffi
.
pointer
) (obj-type pointer-type
)) ¶cffi
.
function-obj
) (obj-type foreign-function-type
)) ¶cffi
.
list
) (obj-type list-array
)) ¶cffi
.
string
) (obj-type string-ptr-type
)) ¶cffi
.
affinity-class
) (super-class standard-class
)) ¶sb-mop
.
Defines an user type.
This macro must return two objects:
1. The primitive type this type is based on.
2. An object that represents the type.
Defines an user type.
This macro must return two objects:
1. The primitive type this type is based on.
2. An object that represents the type.
Change the type of the pointer.
Turns a function reference to a function pointer.
Returns a list with the lambda list and body of a foreign function call.
Expands to a getter expression.
function-lens-type
)) ¶primitive-affi-type
)) ¶Expands to a setter expression.
function-lens-type
)) ¶primitive-affi-type
)) ¶Returns the value of a slot.
Sets the value of a slot.
Same as foreign-slot-value but for pointers. The dispatch is done by class-name.
Same as (setf foreign-slot-value) but for pointers. The dispatch is done by class-name.
string
) (obj-type string-array-type
)) ¶cffi
.
list
) (obj-type list-array
)) ¶cffi
.
standard-class
.
affinity-slot-definition
.
standard-direct-slot-definition
.
affinity-slot-definition
.
standard-effective-slot-definition
.
:private
enhanced-foreign-type
.
funcallable-standard-object
.
:function-ref
enhanced-foreign-type
.
:ctype
:cffi-type
enhanced-foreign-type
.
:encoding
Jump to: | (
A C D E F G I M N O P R S T U V W |
---|
Jump to: | (
A C D E F G I M N O P R S T U V W |
---|
Jump to: | *
A C E F I N O P R S T |
---|
Jump to: | *
A C E F I N O P R S T |
---|
Jump to: | A C F L M O P S T U |
---|
Jump to: | A C F L M O P S T U |
---|