Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/array.both.compat.c

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef enum Foo_Tag {
7 A,
8 } Foo_Tag;
9
10 typedef struct Foo {
11 Foo_Tag tag;
12 union {
13 struct {
14 float a[20];
15 };
16 };
17 } Foo;
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif // __cplusplus
22
23 void root(struct Foo a);
24
25 #ifdef __cplusplus
26 } // extern "C"
27 #endif // __cplusplus