Function mozjs_sys::jsapi::JS_SetICUMemoryFunctions

source ·
pub unsafe extern "C" fn JS_SetICUMemoryFunctions(
    allocFn: JS_ICUAllocFn,
    reallocFn: JS_ICUReallocFn,
    freeFn: JS_ICUFreeFn,
) -> 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!