Files
cbindgen/tests/expectations/extern.cpp
T
2017-11-09 18:04:22 -05:00

16 lines
164 B
C++

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