.cargo/vendor/cbindgen/tests/expectations/const_generics_char.cpp
raw| 1 | #include <cstdarg> |
| 2 | #include <cstdint> |
| 3 | #include <cstdlib> |
| 4 | #include <ostream> |
| 5 | #include <new> |
| 6 | |
| 7 | template<uint32_t V> |
| 8 | struct TakeUntil { |
| 9 | const uint8_t *start; |
| 10 | uintptr_t len; |
| 11 | uintptr_t point; |
| 12 | }; |
| 13 | |
| 14 | extern "C" { |
| 15 | |
| 16 | TakeUntil<0> until_nul(const uint8_t *start, uintptr_t len); |
| 17 | |
| 18 | } // extern "C" |