.cargo/vendor/cbindgen/tests/expectations/monomorph_2.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 A: |
| 10 | pass |
| 11 | |
| 12 | ctypedef struct B: |
| 13 | pass |
| 14 | |
| 15 | ctypedef struct List_A: |
| 16 | A *members; |
| 17 | uintptr_t count; |
| 18 | |
| 19 | ctypedef struct List_B: |
| 20 | B *members; |
| 21 | uintptr_t count; |
| 22 | |
| 23 | void foo(List_A a); |
| 24 | |
| 25 | void bar(List_B b); |