Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/monomorph_1.both.compat.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 struct Foo_i32 {
13 const int32_t *data;
14 } Foo_i32;
15
16 typedef struct Foo_f32 {
17 const float *data;
18 } Foo_f32;
19
20 typedef struct Foo_Bar_f32 {
21 const struct Bar_f32 *data;
22 } Foo_Bar_f32;
23
24 typedef struct Tuple_Foo_f32_____f32 {
25 const struct Foo_f32 *a;
26 const float *b;
27 } Tuple_Foo_f32_____f32;
28
29 typedef struct Tuple_f32__f32 {
30 const float *a;
31 const float *b;
32 } Tuple_f32__f32;
33
34 typedef struct Tuple_f32__f32 Indirection_f32;
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif // __cplusplus
39
40 void root(struct Foo_i32 a,
41 struct Foo_f32 b,
42 struct Bar_f32 c,
43 struct Foo_Bar_f32 d,
44 struct Bar_Foo_f32 e,
45 struct Bar_Bar_f32 f,
46 struct Tuple_Foo_f32_____f32 g,
47 Indirection_f32 h);
48
49 #ifdef __cplusplus
50 } // extern "C"
51 #endif // __cplusplus