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:
23
zeroidc/vendor/cbindgen/tests/expectations/enum_discriminant.cpp
vendored
Normal file
23
zeroidc/vendor/cbindgen/tests/expectations/enum_discriminant.cpp
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
static const int8_t FOURTY_FOUR = 4;
|
||||
|
||||
enum class E : int8_t {
|
||||
A = 1,
|
||||
B = -1,
|
||||
C = (1 + 2),
|
||||
D = FOURTY_FOUR,
|
||||
F = 5,
|
||||
G = (int8_t)54,
|
||||
H = (int8_t)false,
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(const E*);
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user