JS_SetICUMemoryFunctions

Sets the memory allocation and deallocation functions used by the ICU internationalization library.

Syntax

bool JS_SetICUMemoryFunctions(JS_ICUAllocFn allocFn, JS_ICUReallocFn reallocFn, JS_ICUFreeFn freeFn);
Ā  Type Description
allocFn JS_ICUAllocFn
Ā 
An allocation function.
reallocFn JS_ICUReallocFn

A reallocation function.

freeFn JS_ICUFreeFn A free function.

Description

JS_SetICUMemoryFunctions sets the allocator functions used by the ICU internationalization library.Ā  It must be called before JS_Init.Ā  Only use this function if you know what you are doing!

MXR ID Search for JS_SetICUMemoryFunctions.