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:
38
zeroidc/vendor/cbindgen/tests/expectations/rename.cpp
vendored
Normal file
38
zeroidc/vendor/cbindgen/tests/expectations/rename.cpp
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
static const int32_t C_H = 10;
|
||||
|
||||
enum class C_E : uint8_t {
|
||||
x = 0,
|
||||
y = 1,
|
||||
};
|
||||
|
||||
struct C_A;
|
||||
|
||||
struct C_C;
|
||||
|
||||
struct C_AwesomeB {
|
||||
int32_t x;
|
||||
float y;
|
||||
};
|
||||
|
||||
union C_D {
|
||||
int32_t x;
|
||||
float y;
|
||||
};
|
||||
|
||||
using C_F = C_A;
|
||||
|
||||
static const intptr_t C_I = (intptr_t)(C_F*)10;
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern const int32_t G;
|
||||
|
||||
void root(const C_A *a, C_AwesomeB b, C_C c, C_D d, C_E e, C_F f);
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user