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:
22
zeroidc/vendor/cbindgen/tests/expectations/prefixed_struct_literal.compat.c
vendored
Normal file
22
zeroidc/vendor/cbindgen/tests/expectations/prefixed_struct_literal.compat.c
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct {
|
||||
int32_t a;
|
||||
uint32_t b;
|
||||
} PREFIXFoo;
|
||||
#define PREFIXFoo_FOO (PREFIXFoo){ .a = 42, .b = 47 }
|
||||
|
||||
#define PREFIXBAR (PREFIXFoo){ .a = 42, .b = 1337 }
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void root(PREFIXFoo x);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
Reference in New Issue
Block a user