@Retention(value=RUNTIME) @Target(value=TYPE) public @interface CEnum
CConstant. Instead, the Java
 enumeration with this annotation can define the following methods to convert between C and Java
 values:
 CEnumValue to convert the Java object value to the
 C integer value.
 CEnumLookup to retrieve the Java object value from a C
 integer value.
 CEnumConstant to specify the C
 enumeration value. This annotation is optional and only needed if an attribute has a non-default
 value.
 
 Note that C enumeration are merely a type-safe way to specify integer constants in C. Therefore,
 C enumeration values can be imported to Java as a regular CConstant; and CEnum
 can be used to import regular integer C constants as a Java enumeration.
 
 The annotated class, or an outer class that contains the class, must be annotated with
 CContext.
| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | addEnumKeywordAdd the C  enumkeyword to the name specified inCEnum.value(). | 
| String | valueSpecifies the name of the imported C enum type. | 
public abstract String value
int is
 used instead.public abstract boolean addEnumKeyword
enum keyword to the name specified in CEnum.value().