| 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 Bar_Bar_f32: |
| 10 |
pass |
| 11 |
|
| 12 |
ctypedef struct Bar_Foo_f32: |
| 13 |
pass |
| 14 |
|
| 15 |
ctypedef struct Bar_f32: |
| 16 |
pass |
| 17 |
|
| 18 |
ctypedef union Foo_i32: |
| 19 |
const int32_t *data; |
| 20 |
|
| 21 |
ctypedef union Foo_f32: |
| 22 |
const float *data; |
| 23 |
|
| 24 |
ctypedef union Foo_Bar_f32: |
| 25 |
const Bar_f32 *data; |
| 26 |
|
| 27 |
ctypedef union Tuple_Foo_f32_____f32: |
| 28 |
const Foo_f32 *a; |
| 29 |
const float *b; |
| 30 |
|
| 31 |
ctypedef union Tuple_f32__f32: |
| 32 |
const float *a; |
| 33 |
const float *b; |
| 34 |
|
| 35 |
ctypedef Tuple_f32__f32 Indirection_f32; |
| 36 |
|
| 37 |
void root(Foo_i32 a, |
| 38 |
Foo_f32 b, |
| 39 |
Bar_f32 c, |
| 40 |
Foo_Bar_f32 d, |
| 41 |
Bar_Foo_f32 e, |
| 42 |
Bar_Bar_f32 f, |
| 43 |
Tuple_Foo_f32_____f32 g, |
| 44 |
Indirection_f32 h); |