cbindgen/tests/expectations/simplify-option-ptr.tag.c

21 lines
341 B
C

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
struct Opaque;
struct Foo {
const struct Opaque *x;
struct Opaque *y;
void (*z)(void);
};
union Bar {
const struct Opaque *x;
struct Opaque *y;
void (*z)(void);
};
void root(const struct Opaque *a, struct Opaque *b, struct Foo c, union Bar d);