Files
cbindgen/tests/expectations/extern.both.compat.c
T
2020-11-25 17:55:58 +01:00

22 lines
315 B
C

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
typedef struct Normal {
int32_t x;
float y;
} Normal;
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
extern int32_t foo(void);
extern void bar(struct Normal a);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus