Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/struct.both.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 Normal {
9 int32_t x;
10 float y;
11 } Normal;
12
13 typedef struct NormalWithZST {
14 int32_t x;
15 float y;
16 } NormalWithZST;
17
18 typedef struct TupleRenamed {
19 int32_t m0;
20 float m1;
21 } TupleRenamed;
22
23 typedef struct TupleNamed {
24 int32_t x;
25 float y;
26 } TupleNamed;
27
28 void root(struct Opaque *a,
29 struct Normal b,
30 struct NormalWithZST c,
31 struct TupleRenamed d,
32 struct TupleNamed e);