.cargo/vendor/cbindgen/tests/expectations/prefixed_struct_literal.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 | ctypedef struct PREFIXFoo: |
| 10 | int32_t a; |
| 11 | uint32_t b; |
| 12 | const PREFIXFoo PREFIXFoo_FOO # = <PREFIXFoo>{ 42, 47 } |
| 13 | |
| 14 | const PREFIXFoo PREFIXBAR # = <PREFIXFoo>{ 42, 1337 } |
| 15 | |
| 16 | void root(PREFIXFoo x); |