Kartikaya Gupta 5f6b223237 Add ostream header to all generated .cpp files.
Ideally we'd just do this when we need it, but the ostream derivation
will be controlled by both global config and per-structure config, so
it's hard to know exactly when we need it and when we don't.
2020-10-01 12:22:51 +02:00

40 lines
661 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#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"