.cargo/vendor/cbindgen/tests/expectations/zst.both.compat.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | typedef struct TraitObject { |
| 7 | void *data; |
| 8 | void *vtable; |
| 9 | } TraitObject; |
| 10 | |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif // __cplusplus |
| 14 | |
| 15 | void *root(const void *ptr, struct TraitObject t); |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | } // extern "C" |
| 19 | #endif // __cplusplus |