Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/cdecl.compat.c

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef void (*A)(void);
7
8 typedef void (*B)(void);
9
10 typedef bool (*C)(int32_t, int32_t);
11
12 typedef bool (*(*D)(int32_t))(float);
13
14 typedef const int32_t (*(*E)(void))[16];
15
16 typedef const int32_t *F;
17
18 typedef const int32_t *const *G;
19
20 typedef int32_t *const *H;
21
22 typedef const int32_t (*I)[16];
23
24 typedef double (**J)(float);
25
26 typedef int32_t K[16];
27
28 typedef const int32_t *L[16];
29
30 typedef bool (*M[16])(int32_t, int32_t);
31
32 typedef void (*N[16])(int32_t, int32_t);
33
34 typedef void (*P)(int32_t named1st, bool, bool named3rd, int32_t _);
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif // __cplusplus
39
40 void (*O(void))(void);
41
42 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);
43
44 #ifdef __cplusplus
45 } // extern "C"
46 #endif // __cplusplus