Class Foreign-Type-Wrapper

Class for the wrapper type.

Part of:

package cffi, class foreign-typedef

Direct Superclass

foreign-typedef

Slot

actual-typeInitargs::actual-type; Accessors:actual-type.
from-cInitargs::from-c.
nameInitform:(gensym anonymous-cffi-type), Initargs::name; Accessors:name.
to-cInitargs::to-c.
translate-pInitform:t, Initargs::translate-p; Accessors:translate-p.

Direct Method

translate-type-from-foreign
translate-type-to-foreign
unparseUnparse FOREIGN-TYPE to a type specification (symbol or list).

Other 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.
expand-type-from-foreign
expand-type-to-foreign
expand-type-to-foreign-dyn
foreign-type-alignmentReturn the structure alignment in bytes of a foreign type.
foreign-type-sizeReturn the size in bytes of a foreign type.
free-type-translated-object
translate-pReturn true if type translators should run on FOREIGN-TYPE.