File: enum.cxx

package info (click to toggle)
cmtk 3.2.2-1.3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,428 kB
  • ctags: 11,670
  • sloc: cpp: 86,941; ansic: 23,347; sh: 3,896; xml: 1,551; perl: 700; makefile: 344
file content (17 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (17)
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;