Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/box.c

raw
1 #if 0
2 ''' '
3 #endif
4
5 #ifdef __cplusplus
6 template <typename T>
7 using Box = T*;
8 #endif
9
10 #if 0
11 ' '''
12 #endif
13
14
15 #include <stdarg.h>
16 #include <stdbool.h>
17 #include <stdint.h>
18 #include <stdlib.h>
19
20 typedef struct NotReprC_____i32 NotReprC_____i32;
21
22 typedef NotReprC_____i32 Foo;
23
24 typedef struct {
25 int32_t *number;
26 } MyStruct;
27
28 void root(const Foo *a, const MyStruct *with_box);
29
30 void drop_box(int32_t *x);
31
32 void drop_box_opt(int32_t *x);