Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/const_generics_constant.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 uint16_t FONT_WEIGHT_FRACTION_BITS # = 6
10
11 ctypedef struct FixedPoint_FONT_WEIGHT_FRACTION_BITS:
12 uint16_t value;
13
14 ctypedef FixedPoint_FONT_WEIGHT_FRACTION_BITS FontWeightFixedPoint;
15
16 ctypedef struct FontWeight:
17 FontWeightFixedPoint _0;
18 const FontWeight FontWeight_NORMAL # = <FontWeight>{ <FontWeightFixedPoint>{ (400 << FONT_WEIGHT_FRACTION_BITS) } }
19
20 void root(FontWeight w);