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:
46
zeroidc/vendor/cbindgen/tests/expectations/cdecl.compat.c
vendored
Normal file
46
zeroidc/vendor/cbindgen/tests/expectations/cdecl.compat.c
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef void (*A)(void);
|
||||
|
||||
typedef void (*B)(void);
|
||||
|
||||
typedef bool (*C)(int32_t, int32_t);
|
||||
|
||||
typedef bool (*(*D)(int32_t))(float);
|
||||
|
||||
typedef const int32_t (*(*E)(void))[16];
|
||||
|
||||
typedef const int32_t *F;
|
||||
|
||||
typedef const int32_t *const *G;
|
||||
|
||||
typedef int32_t *const *H;
|
||||
|
||||
typedef const int32_t (*I)[16];
|
||||
|
||||
typedef double (**J)(float);
|
||||
|
||||
typedef int32_t K[16];
|
||||
|
||||
typedef const int32_t *L[16];
|
||||
|
||||
typedef bool (*M[16])(int32_t, int32_t);
|
||||
|
||||
typedef void (*N[16])(int32_t, int32_t);
|
||||
|
||||
typedef void (*P)(int32_t named1st, bool, bool named3rd, int32_t _);
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void (*O(void))(void);
|
||||
|
||||
void root(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k, L l, M m, N n, P p);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
Reference in New Issue
Block a user