.cargo/vendor/cbindgen/tests/expectations/const_generics_thru.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 Inner_1: |
| 10 | uint8_t bytes[1]; |
| 11 | |
| 12 | ctypedef struct Outer_1: |
| 13 | Inner_1 inner; |
| 14 | |
| 15 | ctypedef struct Inner_2: |
| 16 | uint8_t bytes[2]; |
| 17 | |
| 18 | ctypedef struct Outer_2: |
| 19 | Inner_2 inner; |
| 20 | |
| 21 | Outer_1 one(); |
| 22 | |
| 23 | Outer_2 two(); |