Class Foreign-Type-Alias

A type that aliases another type.

Part of:

package cffi, class foreign-typedef, class foreign-enum, class foreign-bitfield, class foreign-type

Direct Superclass

foreign-typeContains information about a basic foreign type.

Direct Subclass

foreign-bitfieldDescribes a foreign bitfield type.
foreign-enumDescribes a foreign enumerated type.
foreign-typedef

Slot

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

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).