diff --git a/include/sparrow/c_interface.hpp b/include/sparrow/c_interface.hpp index 730eee5e..a82664e3 100644 --- a/include/sparrow/c_interface.hpp +++ b/include/sparrow/c_interface.hpp @@ -66,7 +66,14 @@ extern "C" namespace sparrow { + /** + * Holds the allocator for the buffers of an ArrowArray. + * + * @tparam BufferType The type of the buffers. + * @tparam Allocator An allocator for BufferType. + */ template class Allocator> + requires sparrow::allocator> struct ArrowArrayPrivateData { ArrowArrayPrivateData() @@ -82,7 +89,13 @@ namespace sparrow any_allocator buffer_allocator; }; + /** + * Holds the allocator for the strings of an ArrowSchema. + * + * @tparam Allocator An allocator for char. + */ template