Debian Codegraph @

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

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 constexpr static const int32_t PREFIX_LEN = 22;
8
9 constexpr static const int64_t PREFIX_X = (22 << 22);
10
11 constexpr static const int64_t PREFIX_Y = (PREFIX_X + PREFIX_X);
12
13 using PREFIX_NamedLenArray = int32_t[PREFIX_LEN];
14
15 using PREFIX_ValuedLenArray = int32_t[22];
16
17 union PREFIX_AbsoluteFontWeight {
18 enum class Tag : uint8_t {
19 Weight,
20 Normal,
21 Bold,
22 };
23
24 struct Weight_Body {
25 Tag tag;
26 float _0;
27 };
28
29 struct {
30 Tag tag;
31 };
32 Weight_Body weight;
33 };
34
35 extern "C" {
36
37 void root(PREFIX_NamedLenArray x, PREFIX_ValuedLenArray y, PREFIX_AbsoluteFontWeight z);
38
39 } // extern "C"