Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/transparent.cpp

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 struct DummyStruct;
8
9 struct EnumWithAssociatedConstantInImpl;
10
11 using TransparentComplexWrappingStructTuple = DummyStruct;
12
13 using TransparentPrimitiveWrappingStructTuple = uint32_t;
14
15 using TransparentComplexWrappingStructure = DummyStruct;
16
17 using TransparentPrimitiveWrappingStructure = uint32_t;
18
19 template<typename T>
20 using TransparentComplexWrapper = DummyStruct;
21
22 template<typename T>
23 using TransparentPrimitiveWrapper = uint32_t;
24
25 using TransparentPrimitiveWithAssociatedConstants = uint32_t;
26 constexpr static const TransparentPrimitiveWithAssociatedConstants TransparentPrimitiveWithAssociatedConstants_ZERO = 0;
27 constexpr static const TransparentPrimitiveWithAssociatedConstants TransparentPrimitiveWithAssociatedConstants_ONE = 1;
28
29 constexpr static const TransparentPrimitiveWrappingStructure EnumWithAssociatedConstantInImpl_TEN = 10;
30
31 extern "C" {
32
33 void root(TransparentComplexWrappingStructTuple a,
34 TransparentPrimitiveWrappingStructTuple b,
35 TransparentComplexWrappingStructure c,
36 TransparentPrimitiveWrappingStructure d,
37 TransparentComplexWrapper<int32_t> e,
38 TransparentPrimitiveWrapper<int32_t> f,
39 TransparentPrimitiveWithAssociatedConstants g,
40 EnumWithAssociatedConstantInImpl h);
41
42 } // extern "C"