Function libduckdb_sys::duckdb_malloc
source · pub unsafe extern "C" fn duckdb_malloc(size: usize) -> *mut c_void
Expand description
Allocate size
bytes of memory using the duckdb internal malloc function. Any memory allocated in this manner
should be freed using duckdb_free
.
size: The number of bytes to allocate. returns: A pointer to the allocated memory region.