Debian Codegraph @

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

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef struct Opaque Opaque;
7
8 typedef struct {
9 int32_t x;
10 float y;
11 } Normal;
12
13 typedef struct {
14 int32_t x;
15 float y;
16 } NormalWithZST;
17
18 typedef struct {
19 int32_t m0;
20 float m1;
21 } TupleRenamed;
22
23 typedef struct {
24 int32_t x;
25 float y;
26 } TupleNamed;
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif // __cplusplus
31
32 void root(Opaque *a, Normal b, NormalWithZST c, TupleRenamed d, TupleNamed e);
33
34 #ifdef __cplusplus
35 } // extern "C"
36 #endif // __cplusplus