| 1 | #pragma once |
| 2 | |
| 3 | /* Generated with cbindgen:0.26.0 */ |
| 4 | |
| 5 | #include <cstdarg> |
| 6 | #include <cstdint> |
| 7 | #include <cstdlib> |
| 8 | #include <ostream> |
| 9 | #include <new> |
| 10 | namespace slint { template<typename T> struct SharedVector; } |
| 11 | |
| 12 | namespace slint { |
| 13 | namespace cbindgen_private { |
| 14 | |
| 15 | extern "C" { |
| 16 | |
| 17 | /// This function is used for the low-level C++ interface to allocate the backing vector of a SharedVector. |
| 18 | uint8_t *slint_shared_vector_allocate(uintptr_t size, |
| 19 | uintptr_t align); |
| 20 | |
| 21 | /// This function is used for the low-level C++ interface to deallocate the backing vector of a SharedVector |
| 22 | void slint_shared_vector_free(uint8_t *ptr, |
| 23 | uintptr_t size, |
| 24 | uintptr_t align); |
| 25 | |
| 26 | /// This function is used for the low-level C++ interface to initialize the empty SharedVector. |
| 27 | const uint8_t *slint_shared_vector_empty(); |
| 28 | |
| 29 | } // extern "C" |
| 30 | |
| 31 | } // namespace cbindgen_private |
| 32 | } // namespace slint |
| 33 | |