File: enum.cxx

package info (click to toggle)
mxml 4.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,672 kB
  • sloc: ansic: 4,246; sh: 3,389; makefile: 522; cpp: 178; xml: 56
file content (17 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;