Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/constant_constexpr.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 int64_t CONSTANT_I64 # = 216
10
11 const float CONSTANT_FLOAT32 # = 312.292
12
13 const uint32_t DELIMITER # = ':'
14
15 const uint32_t LEFTCURLY # = '{'
16
17 ctypedef struct Foo:
18 int32_t x;
19 const int64_t Foo_CONSTANT_I64_BODY # = 216
20
21 const Foo SomeFoo # = <Foo>{ 99 }