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:
26
zeroidc/vendor/cbindgen/tests/expectations/nonnull.cpp
vendored
Normal file
26
zeroidc/vendor/cbindgen/tests/expectations/nonnull.cpp
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
struct Opaque;
|
||||
|
||||
template<typename T>
|
||||
struct Foo {
|
||||
float *a;
|
||||
T *b;
|
||||
Opaque *c;
|
||||
T **d;
|
||||
float **e;
|
||||
Opaque **f;
|
||||
T *g;
|
||||
int32_t *h;
|
||||
int32_t **i;
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(int32_t *arg, Foo<uint64_t> *foo, Opaque **d);
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user