Debian Codegraph @

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

raw
1 from libc.stdint cimport int8_t, int16_t, int32_t, int64_t, intptr_t
2 from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t, uintptr_t
3 cdef extern from *:
4 ctypedef bint bool
5 ctypedef struct va_list
6
7 cdef extern from *:
8
9 const int8_t FOURTY_FOUR # = 4
10
11 cdef enum:
12 A # = 1,
13 B # = -1,
14 C # = (1 + 2),
15 D # = FOURTY_FOUR,
16 F # = 5,
17 G # = <int8_t>54,
18 H # = <int8_t>False,
19 ctypedef int8_t E;
20
21 void root(const E*);