.cargo/vendor/cbindgen/tests/expectations/rename.cpp
raw| 1 | #include <cstdarg> |
| 2 | #include <cstdint> |
| 3 | #include <cstdlib> |
| 4 | #include <ostream> |
| 5 | #include <new> |
| 6 | |
| 7 | constexpr static const int32_t C_H = 10; |
| 8 | |
| 9 | enum class C_E : uint8_t { |
| 10 | x = 0, |
| 11 | y = 1, |
| 12 | }; |
| 13 | |
| 14 | struct C_A; |
| 15 | |
| 16 | struct C_C; |
| 17 | |
| 18 | struct C_AwesomeB { |
| 19 | int32_t x; |
| 20 | float y; |
| 21 | }; |
| 22 | |
| 23 | union C_D { |
| 24 | int32_t x; |
| 25 | float y; |
| 26 | }; |
| 27 | |
| 28 | using C_F = C_A; |
| 29 | |
| 30 | static const intptr_t C_I = (intptr_t)(C_F*)10; |
| 31 | |
| 32 | extern "C" { |
| 33 | |
| 34 | extern const int32_t G; |
| 35 | |
| 36 | void root(const C_A *a, C_AwesomeB b, C_C c, C_D d, C_E e, C_F f); |
| 37 | |
| 38 | } // extern "C" |