Ideally we'd just do this when we need it, but the ostream derivation will be controlled by both global config and per-structure config, so it's hard to know exactly when we need it and when we don't.
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <ostream>
|
|
#include <new>
|
|
|
|
struct DummyStruct;
|
|
|
|
struct EnumWithAssociatedConstantInImpl;
|
|
|
|
using TransparentComplexWrappingStructTuple = DummyStruct;
|
|
|
|
using TransparentPrimitiveWrappingStructTuple = uint32_t;
|
|
|
|
using TransparentComplexWrappingStructure = DummyStruct;
|
|
|
|
using TransparentPrimitiveWrappingStructure = uint32_t;
|
|
|
|
template<typename T>
|
|
using TransparentComplexWrapper = DummyStruct;
|
|
|
|
template<typename T>
|
|
using TransparentPrimitiveWrapper = uint32_t;
|
|
|
|
using TransparentPrimitiveWithAssociatedConstants = uint32_t;
|
|
static const TransparentPrimitiveWithAssociatedConstants TransparentPrimitiveWithAssociatedConstants_ZERO = 0;
|
|
static const TransparentPrimitiveWithAssociatedConstants TransparentPrimitiveWithAssociatedConstants_ONE = 1;
|
|
|
|
static const TransparentPrimitiveWrappingStructure EnumWithAssociatedConstantInImpl_TEN = 10;
|
|
|
|
extern "C" {
|
|
|
|
void root(TransparentComplexWrappingStructTuple a,
|
|
TransparentPrimitiveWrappingStructTuple b,
|
|
TransparentComplexWrappingStructure c,
|
|
TransparentPrimitiveWrappingStructure d,
|
|
TransparentComplexWrapper<int32_t> e,
|
|
TransparentPrimitiveWrapper<int32_t> f,
|
|
TransparentPrimitiveWithAssociatedConstants g,
|
|
EnumWithAssociatedConstantInImpl h);
|
|
|
|
} // extern "C"
|