Files
cbindgen/tests/expectations/union.cpp
T
2017-11-18 14:40:42 -06:00

21 lines
228 B
C++

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