Debian Codegraph @

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

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef struct PREFIXFoo {
7 int32_t a;
8 uint32_t b;
9 } PREFIXFoo;
10 #define PREFIXFoo_FOO (PREFIXFoo){ .a = 42, .b = 47 }
11
12 #define PREFIXBAR (PREFIXFoo){ .a = 42, .b = 1337 }
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif // __cplusplus
17
18 void root(struct PREFIXFoo x);
19
20 #ifdef __cplusplus
21 } // extern "C"
22 #endif // __cplusplus