Files
cbindgen/tests/expectations/union.cpp
T
2019-01-03 09:46:55 -06:00

22 lines
247 B
C++

#include <cstdarg>
#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"