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:
42
zeroidc/vendor/cbindgen/tests/expectations/transparent.cpp
vendored
Normal file
42
zeroidc/vendor/cbindgen/tests/expectations/transparent.cpp
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
struct DummyStruct;
|
||||
|
||||
struct EnumWithAssociatedConstantInImpl;
|
||||
|
||||
using TransparentComplexWrappingStructTuple = DummyStruct;
|
||||
|
||||
using TransparentPrimitiveWrappingStructTuple = uint32_t;
|
||||
|
||||
using TransparentComplexWrappingStructure = DummyStruct;
|
||||
|
||||
using TransparentPrimitiveWrappingStructure = uint32_t;
|
||||
|
||||
template<typename T>
|
||||
using TransparentComplexWrapper = DummyStruct;
|
||||
|
||||
template<typename T>
|
||||
using TransparentPrimitiveWrapper = uint32_t;
|
||||
|
||||
using TransparentPrimitiveWithAssociatedConstants = uint32_t;
|
||||
static const TransparentPrimitiveWithAssociatedConstants TransparentPrimitiveWithAssociatedConstants_ZERO = 0;
|
||||
static const TransparentPrimitiveWithAssociatedConstants TransparentPrimitiveWithAssociatedConstants_ONE = 1;
|
||||
|
||||
static const TransparentPrimitiveWrappingStructure EnumWithAssociatedConstantInImpl_TEN = 10;
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(TransparentComplexWrappingStructTuple a,
|
||||
TransparentPrimitiveWrappingStructTuple b,
|
||||
TransparentComplexWrappingStructure c,
|
||||
TransparentPrimitiveWrappingStructure d,
|
||||
TransparentComplexWrapper<int32_t> e,
|
||||
TransparentPrimitiveWrapper<int32_t> f,
|
||||
TransparentPrimitiveWithAssociatedConstants g,
|
||||
EnumWithAssociatedConstantInImpl h);
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user