pub unsafe extern "C" fn JS_SetICUMemoryFunctions(
allocFn: Option<unsafe extern "C" fn(_: *const c_void, _: usize) -> *mut c_void>,
reallocFn: Option<unsafe extern "C" fn(_: *const c_void, _: *mut c_void, _: usize) -> *mut c_void>,
freeFn: Option<unsafe extern "C" fn(_: *const c_void, _: *mut c_void)>,
) -> bool
Expand description
This function can be used to track memory used by ICU. If it is called, it must be called before JS_Init. Don’t use it unless you know what you’re doing!