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:
25
zeroidc/vendor/cbindgen/tests/expectations/namespaces_constant.cpp
vendored
Normal file
25
zeroidc/vendor/cbindgen/tests/expectations/namespaces_constant.cpp
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
namespace constants {
|
||||
namespace test {
|
||||
|
||||
static const int32_t FOO = 10;
|
||||
|
||||
static const float ZOM = 3.14;
|
||||
|
||||
struct Foo {
|
||||
int32_t x[FOO];
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(Foo x);
|
||||
|
||||
} // extern "C"
|
||||
|
||||
} // namespace test
|
||||
} // namespace constants
|
||||
Reference in New Issue
Block a user