mxml/test/enum.cxx

18 lines
497 B
C++
Raw Normal View History

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;
2009-05-05 04:43:18 +00:00
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;