Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/cdecl.cpp

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 using A = void(*)();
8
9 using B = void(*)();
10
11 using C = bool(*)(int32_t, int32_t);
12
13 using D = bool(*(*)(int32_t))(float);
14
15 using E = const int32_t(*(*)())[16];
16
17 using F = const int32_t*;
18
19 using G = const int32_t*const *;
20
21 using H = int32_t*const *;
22
23 using I = const int32_t(*)[16];
24
25 using J = double(**)(float);
26
27 using K = int32_t[16];
28
29 using L = const int32_t*[16];
30
31 using M = bool(*[16])(int32_t, int32_t);
32
33 using N = void(*[16])(int32_t, int32_t);
34
35 using P = void(*)(int32_t named1st, bool, bool named3rd, int32_t _);
36
37 extern "C" {
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);
42
43 } // extern "C"