cbindgen/tests/expectations/monomorph_1_both.c
Jonathan Schwender 51a981cefc Rename expectations files
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
```
2023-09-04 19:37:45 +02:00

44 lines
887 B
C

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
typedef struct Bar_Bar_f32 Bar_Bar_f32;
typedef struct Bar_Foo_f32 Bar_Foo_f32;
typedef struct Bar_f32 Bar_f32;
typedef struct Foo_i32 {
const int32_t *data;
} Foo_i32;
typedef struct Foo_f32 {
const float *data;
} Foo_f32;
typedef struct Foo_Bar_f32 {
const struct Bar_f32 *data;
} Foo_Bar_f32;
typedef struct Tuple_Foo_f32_____f32 {
const struct Foo_f32 *a;
const float *b;
} Tuple_Foo_f32_____f32;
typedef struct Tuple_f32__f32 {
const float *a;
const float *b;
} Tuple_f32__f32;
typedef struct Tuple_f32__f32 Indirection_f32;
void root(struct Foo_i32 a,
struct Foo_f32 b,
struct Bar_f32 c,
struct Foo_Bar_f32 d,
struct Bar_Foo_f32 e,
struct Bar_Bar_f32 f,
struct Tuple_Foo_f32_____f32 g,
Indirection_f32 h);