| 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 |
void ptr_as_array(uint32_t n, const uint32_t arg[3], const uint64_t *v); |
| 10 |
|
| 11 |
void ptr_as_array1(uint32_t n, const uint32_t arg[3], uint64_t v[4]); |
| 12 |
|
| 13 |
void ptr_as_array2(uint32_t n, uint32_t arg[], const uint64_t v[]); |
| 14 |
|
| 15 |
void ptr_as_array_wrong_syntax(uint32_t *arg, const uint32_t *v, const uint32_t*); |
| 16 |
|
| 17 |
void ptr_as_array_unnamed(uint32_t*, const uint32_t*); |