Files
cbindgen/tests/expectations/prefix.cpp
T
2020-01-24 11:22:39 +01:00

39 lines
642 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <new>
static const int32_t PREFIX_LEN = 22;
static const int64_t PREFIX_X = (22 << 22);
static const int64_t PREFIX_Y = (PREFIX_X + PREFIX_X);
using PREFIX_NamedLenArray = int32_t[PREFIX_LEN];
using PREFIX_ValuedLenArray = int32_t[22];
union PREFIX_AbsoluteFontWeight {
enum class Tag : uint8_t {
Weight,
Normal,
Bold,
};
struct Weight_Body {
Tag tag;
float _0;
};
struct {
Tag tag;
};
Weight_Body weight;
};
extern "C" {
void root(PREFIX_NamedLenArray x, PREFIX_ValuedLenArray y, PREFIX_AbsoluteFontWeight z);
} // extern "C"