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/extern.both.compat.c
vendored
Normal file
21
zeroidc/vendor/cbindgen/tests/expectations/extern.both.compat.c
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct Normal {
|
||||
int32_t x;
|
||||
float y;
|
||||
} Normal;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
extern int32_t foo(void);
|
||||
|
||||
extern void bar(struct Normal a);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
Reference in New Issue
Block a user