Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/extern.compat.c

raw
1 #include <stdarg.h>
2 #include <stdbool.h>
3 #include <stdint.h>
4 #include <stdlib.h>
5
6 typedef struct {
7 int32_t x;
8 float y;
9 } Normal;
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif // __cplusplus
14
15 extern int32_t foo(void);
16
17 extern void bar(Normal a);
18
19 #ifdef __cplusplus
20 } // extern "C"
21 #endif // __cplusplus