Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/monomorph_3.c

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef struct Bar_Bar_f32 Bar_Bar_f32;
7
8 typedef struct Bar_Foo_f32 Bar_Foo_f32;
9
10 typedef struct Bar_f32 Bar_f32;
11
12 typedef union {
13 const int32_t *data;
14 } Foo_i32;
15
16 typedef union {
17 const float *data;
18 } Foo_f32;
19
20 typedef union {
21 const Bar_f32 *data;
22 } Foo_Bar_f32;
23
24 typedef union {
25 const Foo_f32 *a;
26 const float *b;
27 } Tuple_Foo_f32_____f32;
28
29 typedef union {
30 const float *a;
31 const float *b;
32 } Tuple_f32__f32;
33
34 typedef Tuple_f32__f32 Indirection_f32;
35
36 void root(Foo_i32 a,
37 Foo_f32 b,
38 Bar_f32 c,
39 Foo_Bar_f32 d,
40 Bar_Foo_f32 e,
41 Bar_Bar_f32 f,
42 Tuple_Foo_f32_____f32 g,
43 Indirection_f32 h);