Function cassandra_cpp_sys::cass_alloc_set_functions
source · pub unsafe extern "C" fn cass_alloc_set_functions(
malloc_func: CassMallocFunction,
realloc_func: CassReallocFunction,
free_func: CassFreeFunction
)
Expand description
Set custom allocation functions.
Note: This is not thread-safe. The allocation functions must be set before any other library function is called.
Default: The C runtime’s malloc(), realloc() and free()
Important: The C runtime’s malloc(), realloc() and free() will be used by libuv when using versions 1.5 or earlier.
@param[in] malloc_func @param[in] realloc_func @param[in] free_func