Debian Codegraph @

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

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef struct NotReprC_RefCell_i32 NotReprC_RefCell_i32;
7
8 typedef struct NotReprC_RefCell_i32 Foo;
9
10 typedef struct MyStruct {
11 int32_t number;
12 } MyStruct;
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif // __cplusplus
17
18 void root(const Foo *a, const struct MyStruct *with_cell);
19
20 #ifdef __cplusplus
21 } // extern "C"
22 #endif // __cplusplus