File: testenum.h

package info (click to toggle)
glib2.0 2.87.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 66,904 kB
  • sloc: ansic: 545,999; python: 9,937; sh: 1,612; xml: 1,511; perl: 1,223; cpp: 551; makefile: 308; javascript: 11
file content (16 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
typedef enum
{
  TEST_ENUM_FOO,
  TEST_ENUM_BAR,
  TEST_ENUM_BAZ,
  TEST_ENUM_QUUX
} TestEnum;

typedef enum
{
  TEST_FLAGS_NONE     = 0,
  TEST_FLAGS_MOURNING = (1 << 0),
  TEST_FLAGS_LAUGHING = (1 << 1),
  TEST_FLAGS_TALKING  = (1 << 2),
  TEST_FLAGS_WALKING  = (1 << 3)
} G_GNUC_FLAG_ENUM TestFlags;