Rename expectation files to contain only one dot. This is needed for the Cython tests as of Cython 3. The following script was used in a clean repository to rename the files: ```sh ls | sed -E -n 's/(.*)\.(both|tag)?((\..*)?\.(c|cpp|pyx))/mv "\1.\2\3" "\1_\2\3"/p' | sh ```
35 lines
497 B
C
35 lines
497 B
C
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
#define C_H 10
|
|
|
|
enum C_E {
|
|
x = 0,
|
|
y = 1,
|
|
};
|
|
typedef uint8_t C_E;
|
|
|
|
typedef struct C_A C_A;
|
|
|
|
typedef struct C_C C_C;
|
|
|
|
typedef struct C_AwesomeB {
|
|
int32_t x;
|
|
float y;
|
|
} C_AwesomeB;
|
|
|
|
typedef union C_D {
|
|
int32_t x;
|
|
float y;
|
|
} C_D;
|
|
|
|
typedef struct C_A C_F;
|
|
|
|
#define C_I (intptr_t)(C_F*)10
|
|
|
|
extern const int32_t G;
|
|
|
|
void root(const struct C_A *a, struct C_AwesomeB b, struct C_C c, union C_D d, C_E e, C_F f);
|