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:
28
zeroidc/vendor/cbindgen/tests/expectations/nonnull.both.compat.c
vendored
Normal file
28
zeroidc/vendor/cbindgen/tests/expectations/nonnull.both.compat.c
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct Opaque Opaque;
|
||||
|
||||
typedef struct Foo_u64 {
|
||||
float *a;
|
||||
uint64_t *b;
|
||||
struct Opaque *c;
|
||||
uint64_t **d;
|
||||
float **e;
|
||||
struct Opaque **f;
|
||||
uint64_t *g;
|
||||
int32_t *h;
|
||||
int32_t **i;
|
||||
} Foo_u64;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void root(int32_t *arg, struct Foo_u64 *foo, struct Opaque **d);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
Reference in New Issue
Block a user