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:
79
zeroidc/vendor/cbindgen/tests/expectations/reserved.cpp
vendored
Normal file
79
zeroidc/vendor/cbindgen/tests/expectations/reserved.cpp
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
struct A {
|
||||
int32_t namespace_;
|
||||
float float_;
|
||||
};
|
||||
|
||||
struct B {
|
||||
int32_t namespace_;
|
||||
float float_;
|
||||
};
|
||||
|
||||
struct C {
|
||||
enum class Tag : uint8_t {
|
||||
D,
|
||||
};
|
||||
|
||||
struct D_Body {
|
||||
int32_t namespace_;
|
||||
float float_;
|
||||
};
|
||||
|
||||
Tag tag;
|
||||
union {
|
||||
D_Body d;
|
||||
};
|
||||
};
|
||||
|
||||
struct E {
|
||||
enum class Tag : uint8_t {
|
||||
Double,
|
||||
Float,
|
||||
};
|
||||
|
||||
struct Double_Body {
|
||||
double _0;
|
||||
};
|
||||
|
||||
struct Float_Body {
|
||||
float _0;
|
||||
};
|
||||
|
||||
Tag tag;
|
||||
union {
|
||||
Double_Body double_;
|
||||
Float_Body float_;
|
||||
};
|
||||
};
|
||||
|
||||
struct F {
|
||||
enum class Tag : uint8_t {
|
||||
double_,
|
||||
float_,
|
||||
};
|
||||
|
||||
struct double_Body {
|
||||
double _0;
|
||||
};
|
||||
|
||||
struct float_Body {
|
||||
float _0;
|
||||
};
|
||||
|
||||
Tag tag;
|
||||
union {
|
||||
double_Body double_;
|
||||
float_Body float_;
|
||||
};
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(A a, B b, C c, E e, F f, int32_t namespace_, float float_);
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user