aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/7 gnome/mkenums/meson-sample.h
blob: ee7b5cbfbf7cff1764336b39577418533fa020c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

typedef enum
{
    MESON_THE_XVALUE,
    MESON_ANOTHER_VALUE
} MesonTheXEnum;

typedef enum /*< skip >*/
{
    MESON_FOO
} MesonThisEnumWillBeSkipped;

typedef enum /*< flags,prefix=MESON >*/
{
    MESON_THE_ZEROTH_VALUE,  /*< skip >*/
    MESON_THE_FIRST_VALUE,
    MESON_THE_SECOND_VALUE,
    MESON_THE_THIRD_VALUE,   /*< nick=the-last-value >*/
} MesonTheFlagsEnum;