cbindgen/tests/expectations/extern.compat.c
2020-10-05 19:57:33 +02:00

22 lines
301 B
C

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