Debian Codegraph @

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

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef struct HasBitfields {
7 uint64_t foo: 8;
8 uint64_t bar: 56;
9 } HasBitfields;
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif // __cplusplus
14
15 void root(const struct HasBitfields*);
16
17 #ifdef __cplusplus
18 } // extern "C"
19 #endif // __cplusplus