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.