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:
21
zeroidc/vendor/cbindgen/tests/expectations/fns.cpp
vendored
Normal file
21
zeroidc/vendor/cbindgen/tests/expectations/fns.cpp
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
struct Fns {
|
||||
void (*noArgs)();
|
||||
void (*anonymousArg)(int32_t);
|
||||
int32_t (*returnsNumber)();
|
||||
int8_t (*namedArgs)(int32_t first, int16_t snd);
|
||||
int8_t (*namedArgsWildcards)(int32_t _, int16_t named, int64_t _1);
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(Fns _fns);
|
||||
|
||||
void no_return();
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user