Class Foreign-Enum
Describes a foreign enumerated type.
Slot
| actual-type | Initargs::actual-type; Accessors:actual-type. |
|---|
| keyword-values | Initform:(make-hash-table
test
'eq); Reader:keyword-values. |
|---|
| name | Initform:(gensym
anonymous-cffi-type), Initargs::name; Accessors:name. |
|---|
| translate-p | Initform:t, Initargs::translate-p; Accessors:translate-p. |
|---|
| value-keywords | Initform:(make-hash-table); Reader:value-keywords. |
|---|
Other Method
| aggregatep | Return true if FOREIGN-TYPE is an aggregate type. |
|---|
| canonicalize | Return the built-in foreign type for FOREIGN-TYPE. Signals an error if FOREIGN-TYPE is undefined. |
|---|
| foreign-type-alignment | Return the structure alignment in bytes of a foreign type. |
|---|
| foreign-type-size | Return the size in bytes of a foreign type. |
|---|
| translate-p | Return true if type translators should run on FOREIGN-TYPE. |
|---|
| unparse | Unparse FOREIGN-TYPE to a type specification (symbol or list). |
|---|