Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/cdecl.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 void (*A)();
10
11 ctypedef void (*B)();
12
13 ctypedef bool (*C)(int32_t, int32_t);
14
15 ctypedef bool (*(*D)(int32_t))(float);
16
17 ctypedef const int32_t (*(*E)())[16];
18
19 ctypedef const int32_t *F;
20
21 ctypedef const int32_t *const *G;
22
23 ctypedef int32_t *const *H;
24
25 ctypedef const int32_t (*I)[16];
26
27 ctypedef double (**J)(float);
28
29 ctypedef int32_t K[16];
30
31 ctypedef const int32_t *L[16];
32
33 ctypedef bool (*M[16])(int32_t, int32_t);
34
35 ctypedef void (*N[16])(int32_t, int32_t);
36
37 ctypedef void (*P)(int32_t named1st, bool, bool named3rd, int32_t _);
38
39 void (*O())();
40
41 void root(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k, L l, M m, N n, P p);