tiledb_query_buffer_alloc_ptr function

Allocate a Query buffer for a given type