Skip to main content

duckdb_malloc

Function 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.

history:

  • stable: v0.2.7

@param size The number of bytes to allocate. @return void*