Files
cbindgen/tests/expectations/extern.cpp
T
2017-11-18 14:40:42 -06:00

16 lines
164 B
C++

#include <cstdint>
#include <cstdlib>
struct Normal {
int32_t x;
float y;
};
extern "C" {
extern void bar(Normal a);
extern int32_t foo();
} // extern "C"