.cargo/vendor/cbindgen/tests/expectations/nonnull.cpp
raw| 1 | #include <cstdarg> |
| 2 | #include <cstdint> |
| 3 | #include <cstdlib> |
| 4 | #include <ostream> |
| 5 | #include <new> |
| 6 | |
| 7 | struct Opaque; |
| 8 | |
| 9 | template<typename T> |
| 10 | struct Foo { |
| 11 | float *a; |
| 12 | T *b; |
| 13 | Opaque *c; |
| 14 | T **d; |
| 15 | float **e; |
| 16 | Opaque **f; |
| 17 | T *g; |
| 18 | int32_t *h; |
| 19 | int32_t **i; |
| 20 | }; |
| 21 | |
| 22 | extern "C" { |
| 23 | |
| 24 | void root(int32_t *arg, Foo<uint64_t> *foo, Opaque **d); |
| 25 | |
| 26 | } // extern "C" |