.cargo/vendor/cbindgen/tests/expectations/nonnull.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 Opaque: |
| 10 | pass |
| 11 | |
| 12 | ctypedef struct Foo_u64: |
| 13 | float *a; |
| 14 | uint64_t *b; |
| 15 | Opaque *c; |
| 16 | uint64_t **d; |
| 17 | float **e; |
| 18 | Opaque **f; |
| 19 | uint64_t *g; |
| 20 | int32_t *h; |
| 21 | int32_t **i; |
| 22 | |
| 23 | void root(int32_t *arg, Foo_u64 *foo, Opaque **d); |