Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/enum_discriminant.c

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 #define FOURTY_FOUR 4
7
8 enum E {
9 A = 1,
10 B = -1,
11 C = (1 + 2),
12 D = FOURTY_FOUR,
13 F = 5,
14 G = (int8_t)54,
15 H = (int8_t)false,
16 };
17 typedef int8_t E;
18
19 void root(const E*);