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:
33
zeroidc/vendor/cbindgen/tests/expectations/struct.cpp
vendored
Normal file
33
zeroidc/vendor/cbindgen/tests/expectations/struct.cpp
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
struct Opaque;
|
||||
|
||||
struct Normal {
|
||||
int32_t x;
|
||||
float y;
|
||||
};
|
||||
|
||||
struct NormalWithZST {
|
||||
int32_t x;
|
||||
float y;
|
||||
};
|
||||
|
||||
struct TupleRenamed {
|
||||
int32_t m0;
|
||||
float m1;
|
||||
};
|
||||
|
||||
struct TupleNamed {
|
||||
int32_t x;
|
||||
float y;
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(Opaque *a, Normal b, NormalWithZST c, TupleRenamed d, TupleNamed e);
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user