RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
This commit is contained in:
39
zeroidc/vendor/cbindgen/tests/expectations/prefix.cpp
vendored
Normal file
39
zeroidc/vendor/cbindgen/tests/expectations/prefix.cpp
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
#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"
|
||||
Reference in New Issue
Block a user