.cargo/vendor/cbindgen/tests/expectations/namespace_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 int32_t FOO # = 10 |
| 10 | |
| 11 | const float ZOM # = 3.14 |
| 12 | |
| 13 | ctypedef struct Foo: |
| 14 | int32_t x[FOO]; |
| 15 | |
| 16 | void root(Foo x); |