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

19 lines
230 B
C++

#include <cstdint>
#include <cstdlib>
extern "C" {
static const char* BAR = u8"hello world";
static const int32_t FOO = 10;
static const float ZOM = 3.14;
struct Foo {
int32_t x[FOO];
};
void root(Foo x);
} // extern "C"