.cargo/vendor/cbindgen/tests/expectations/decl_name_conflicting.compat.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | enum BindingType |
| 7 | #ifdef __cplusplus |
| 8 | : uint32_t |
| 9 | #endif // __cplusplus |
| 10 | { |
| 11 | Buffer = 0, |
| 12 | NotBuffer = 1, |
| 13 | }; |
| 14 | #ifndef __cplusplus |
| 15 | typedef uint32_t BindingType; |
| 16 | #endif // __cplusplus |
| 17 | |
| 18 | typedef struct { |
| 19 | BindingType ty; |
| 20 | } BindGroupLayoutEntry; |
| 21 | |
| 22 | #ifdef __cplusplus |
| 23 | extern "C" { |
| 24 | #endif // __cplusplus |
| 25 | |
| 26 | void root(BindGroupLayoutEntry entry); |
| 27 | |
| 28 | #ifdef __cplusplus |
| 29 | } // extern "C" |
| 30 | #endif // __cplusplus |