Files
cbindgen/tests/expectations/struct.cpp
T
2017-11-09 18:04:22 -05:00

31 lines
360 B
C++

#include <cstdint>
#include <cstdlib>
extern "C" {
struct Opaque;
struct Normal {
int32_t x;
float y;
};
struct NormalWithZST {
int32_t x;
float y;
};
struct TupleRenamed {
int32_t m0;
float m1;
};
struct TupleNamed {
int32_t x;
float y;
};
void root(Opaque *a, Normal b, NormalWithZST c, TupleRenamed d, TupleNamed e);
} // extern "C"