Debian Codegraph @

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

raw
1 #if 0
2 ''' '
3 #endif
4
5 #ifdef __cplusplus
6 template <typename T>
7 using MaybeUninit = 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 struct NotReprC______i32 Foo;
23
24 typedef struct MyStruct {
25 const int32_t *number;
26 } MyStruct;
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif // __cplusplus
31
32 void root(const Foo *a, const struct MyStruct *with_maybe_uninit);
33
34 #ifdef __cplusplus
35 } // extern "C"
36 #endif // __cplusplus