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

The type of the callback function that will be used by Chimera to free memory regions previously allocated using the @ref ch_alloc_t function.

@param ptr The region of memory to be freed.