.cargo/vendor/cbindgen/tests/expectations/struct.cpp
raw| 1 | #include <cstdarg> |
| 2 | #include <cstdint> |
| 3 | #include <cstdlib> |
| 4 | #include <ostream> |
| 5 | #include <new> |
| 6 | |
| 7 | struct Opaque; |
| 8 | |
| 9 | struct Normal { |
| 10 | int32_t x; |
| 11 | float y; |
| 12 | }; |
| 13 | |
| 14 | struct NormalWithZST { |
| 15 | int32_t x; |
| 16 | float y; |
| 17 | }; |
| 18 | |
| 19 | struct TupleRenamed { |
| 20 | int32_t m0; |
| 21 | float m1; |
| 22 | }; |
| 23 | |
| 24 | struct TupleNamed { |
| 25 | int32_t x; |
| 26 | float y; |
| 27 | }; |
| 28 | |
| 29 | extern "C" { |
| 30 | |
| 31 | void root(Opaque *a, Normal b, NormalWithZST c, TupleRenamed d, TupleNamed e); |
| 32 | |
| 33 | } // extern "C" |