.cargo/vendor/cbindgen/tests/expectations/fns.cpp
raw| 1 | #include <cstdarg> |
| 2 | #include <cstdint> |
| 3 | #include <cstdlib> |
| 4 | #include <ostream> |
| 5 | #include <new> |
| 6 | |
| 7 | struct Fns { |
| 8 | void (*noArgs)(); |
| 9 | void (*anonymousArg)(int32_t); |
| 10 | int32_t (*returnsNumber)(); |
| 11 | int8_t (*namedArgs)(int32_t first, int16_t snd); |
| 12 | int8_t (*namedArgsWildcards)(int32_t _, int16_t named, int64_t _1); |
| 13 | }; |
| 14 | |
| 15 | extern "C" { |
| 16 | |
| 17 | void root(Fns _fns); |
| 18 | |
| 19 | void no_return(); |
| 20 | |
| 21 | } // extern "C" |