cbindgen/tests/expectations/nonzero_both.compat.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

53 lines
780 B
C

#if 0
''' '
#endif
#ifdef __cplusplus
struct NonZeroI64;
#endif
#if 0
' '''
#endif
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
typedef struct Option_i64 Option_i64;
typedef struct NonZeroTest {
uint8_t a;
uint16_t b;
uint32_t c;
uint64_t d;
int8_t e;
int16_t f;
int32_t g;
int64_t h;
int64_t i;
const struct Option_i64 *j;
} NonZeroTest;
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
void root(struct NonZeroTest test,
uint8_t a,
uint16_t b,
uint32_t c,
uint64_t d,
int8_t e,
int16_t f,
int32_t g,
int64_t h,
int64_t i,
const struct Option_i64 *j);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus