Class Foreign-Struct-Type

Hash table of plists containing slot information.

Part of:

package cffi, class foreign-type

Direct Superclass

foreign-typeContains information about a basic foreign type.

Slot

alignmentInitargs::alignment; Accessors:alignment.
nameInitform:(gensym anonymous-cffi-type), Initargs::name; Accessors:name.
sizeInitargs::size; Accessors:size.
slotsInitform:(make-hash-table), Initargs::slots; Accessors:slots.

Direct Method

aggregatepReturn true if FOREIGN-TYPE is an aggregate type.
canonicalizeReturn the built-in foreign type for FOREIGN-TYPE.
Signals an error if FOREIGN-TYPE is undefined.
foreign-type-alignmentReturn the structure alignment in bytes of a foreign type.
foreign-type-sizeReturn the size in bytes of a foreign type.

Other Method

translate-pReturn true if type translators should run on FOREIGN-TYPE.
unparseUnparse FOREIGN-TYPE to a type specification (symbol or list).