Class Foreign-Enum

Describes a foreign enumerated type.

Part of:

package cffi, class foreign-type-alias

Direct Superclass

foreign-type-aliasA type that aliases another type.

Slot

actual-typeInitargs::actual-type; Accessors:actual-type.
keyword-valuesInitform:(make-hash-table test 'eq); Reader:keyword-values.
nameInitform:(gensym anonymous-cffi-type), Initargs::name; Accessors:name.
translate-pInitform:t, Initargs::translate-p; Accessors:translate-p.
value-keywordsInitform:(make-hash-table); Reader:value-keywords.

Direct Method

translate-type-from-foreign
translate-type-to-foreign

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.
foreign-type-alignmentReturn the structure alignment in bytes of a foreign type.
foreign-type-sizeReturn the size in bytes of a foreign type.
translate-pReturn true if type translators should run on FOREIGN-TYPE.
unparseUnparse FOREIGN-TYPE to a type specification (symbol or list).