| 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 Option_____Opaque: |
| 13 |
pass |
| 14 |
|
| 15 |
ctypedef struct Foo: |
| 16 |
const Opaque *x; |
| 17 |
Opaque *y; |
| 18 |
void (*z)(); |
| 19 |
void (**zz)(); |
| 20 |
|
| 21 |
ctypedef union Bar: |
| 22 |
const Opaque *x; |
| 23 |
Opaque *y; |
| 24 |
void (*z)(); |
| 25 |
void (**zz)(); |
| 26 |
|
| 27 |
void root(const Opaque *a, |
| 28 |
Opaque *b, |
| 29 |
Foo c, |
| 30 |
Bar d, |
| 31 |
Option_____Opaque *e, |
| 32 |
void (*f)(const Opaque*)); |