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:
32
zeroidc/vendor/cbindgen/tests/expectations/namespaces_constant.compat.c
vendored
Normal file
32
zeroidc/vendor/cbindgen/tests/expectations/namespaces_constant.compat.c
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace constants {
|
||||
namespace test {
|
||||
#endif // __cplusplus
|
||||
|
||||
#define FOO 10
|
||||
|
||||
#define ZOM 3.14
|
||||
|
||||
typedef struct {
|
||||
int32_t x[FOO];
|
||||
} Foo;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void root(Foo x);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // namespace test
|
||||
} // namespace constants
|
||||
#endif // __cplusplus
|
||||
Reference in New Issue
Block a user