Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/prefix.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 int32_t PREFIX_LEN # = 22
10
11 const int64_t PREFIX_X # = (22 << 22)
12
13 const int64_t PREFIX_Y # = (PREFIX_X + PREFIX_X)
14
15 ctypedef int32_t PREFIX_NamedLenArray[PREFIX_LEN];
16
17 ctypedef int32_t PREFIX_ValuedLenArray[22];
18
19 cdef enum:
20 Weight,
21 Normal,
22 Bold,
23 ctypedef uint8_t PREFIX_AbsoluteFontWeight_Tag;
24
25 ctypedef union PREFIX_AbsoluteFontWeight:
26 PREFIX_AbsoluteFontWeight_Tag tag;
27 float weight;
28
29 void root(PREFIX_NamedLenArray x, PREFIX_ValuedLenArray y, PREFIX_AbsoluteFontWeight z);