pub unsafe extern "C" fn event_set_mem_functions(
malloc_fn: Option<unsafe extern "C" fn(sz: usize) -> *mut c_void>,
realloc_fn: Option<unsafe extern "C" fn(ptr: *mut c_void, sz: usize) -> *mut c_void>,
free_fn: Option<unsafe extern "C" fn(ptr: *mut c_void)>,
)