Type Definition cassandra_cpp_sys::CassFreeFunction

source ·
pub type CassFreeFunction = Option<unsafe extern "C" fn(ptr: *mut c_void)>;
Expand description

A custom free function. This function deallocates the memory pointed to by “ptr” that was previously allocated by a “CassMallocFunction” or “CassReallocFunction” function.

@param[in] ptr A pointer to memory that should be deallocated. If NULL then this will perform no operation.

@see CassMallocFunction @see CassReallocFunction @see cass_alloc_set_functions()