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:
30
zeroidc/vendor/cbindgen/tests/expectations/monomorph_2.both.compat.c
vendored
Normal file
30
zeroidc/vendor/cbindgen/tests/expectations/monomorph_2.both.compat.c
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct A A;
|
||||
|
||||
typedef struct B B;
|
||||
|
||||
typedef struct List_A {
|
||||
struct A *members;
|
||||
uintptr_t count;
|
||||
} List_A;
|
||||
|
||||
typedef struct List_B {
|
||||
struct B *members;
|
||||
uintptr_t count;
|
||||
} List_B;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void foo(struct List_A a);
|
||||
|
||||
void bar(struct List_B b);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
Reference in New Issue
Block a user