No issues found
1 #include "eggwrapbox-enums.h"
2
3 /* enumerations from "eggwrapbox.h" */
4 #include "eggwrapbox.h"
5 GType
6 egg_wrap_allocation_mode_get_type (void)
7 {
8 static GType type = 0;
9
10 if (!type)
11 {
12 static const GEnumValue _egg_wrap_allocation_mode_values[] = {
13 { EGG_WRAP_ALLOCATE_FREE, "EGG_WRAP_ALLOCATE_FREE", "free" },
14 { EGG_WRAP_ALLOCATE_ALIGNED, "EGG_WRAP_ALLOCATE_ALIGNED", "aligned" },
15 { EGG_WRAP_ALLOCATE_HOMOGENEOUS, "EGG_WRAP_ALLOCATE_HOMOGENEOUS", "homogeneous" },
16 { 0, NULL, NULL }
17 };
18
19 type = g_enum_register_static ("EggWrapAllocationMode", _egg_wrap_allocation_mode_values);
20 }
21
22 return type;
23 }
24
25 GType
26 egg_wrap_box_spreading_get_type (void)
27 {
28 static GType type = 0;
29
30 if (!type)
31 {
32 static const GEnumValue _egg_wrap_box_spreading_values[] = {
33 { EGG_WRAP_BOX_SPREAD_START, "EGG_WRAP_BOX_SPREAD_START", "start" },
34 { EGG_WRAP_BOX_SPREAD_END, "EGG_WRAP_BOX_SPREAD_END", "end" },
35 { EGG_WRAP_BOX_SPREAD_EVEN, "EGG_WRAP_BOX_SPREAD_EVEN", "even" },
36 { EGG_WRAP_BOX_SPREAD_EXPAND, "EGG_WRAP_BOX_SPREAD_EXPAND", "expand" },
37 { 0, NULL, NULL }
38 };
39
40 type = g_enum_register_static ("EggWrapBoxSpreading", _egg_wrap_box_spreading_values);
41 }
42
43 return type;
44 }
45
46 GType
47 egg_wrap_box_packing_get_type (void)
48 {
49 static GType type = 0;
50
51 if (!type)
52 {
53 static const GFlagsValue _egg_wrap_box_packing_values[] = {
54 { EGG_WRAP_BOX_H_EXPAND, "EGG_WRAP_BOX_H_EXPAND", "h-expand" },
55 { EGG_WRAP_BOX_V_EXPAND, "EGG_WRAP_BOX_V_EXPAND", "v-expand" },
56 { 0, NULL, NULL }
57 };
58
59 type = g_flags_register_static ("EggWrapBoxPacking", _egg_wrap_box_packing_values);
60 }
61
62 return type;
63 }