.cargo/vendor/cbindgen/tests/expectations/maybeuninit.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 NotReprC______i32 Foo; |
| 23 | |
| 24 | typedef struct { |
| 25 | const int32_t *number; |
| 26 | } MyStruct; |
| 27 | |
| 28 | void root(const Foo *a, const MyStruct *with_maybe_uninit); |