You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
typedef enum foo_enum_e /* Sample enumeration type */
|
|
|
|
{
|
|
|
|
FOO_ONE, /* One fish */
|
|
|
|
FOO_TWO, /* Two fish */
|
|
|
|
FOO_RED, /* Red fish */
|
|
|
|
FOO_BLUE, /* Blue fish */
|
|
|
|
FOO_PRIVATE /* Private fish @private@ */
|
|
|
|
} foo_enum_t;
|
|
|
|
|
|
|
|
typedef enum foo_enum2_e /* Sample enumeration type #2 */
|
|
|
|
{
|
|
|
|
FOO2_ONE, /* One fish #2 */
|
|
|
|
FOO2_TWO, /* Two fish #2 */
|
|
|
|
FOO2_RED, /* Red fish #2 */
|
|
|
|
FOO2_BLUE, /* Blue fish #2 */
|
|
|
|
FOO2_PRIVATE /* Private fish #2 @private@ */
|
|
|
|
} foo_enum2_t;
|