Please note, this is a STATIC archive of website from 03 Nov 2016, does not collect or store any user information, there is no "phishing" involved.


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


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.


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.

Document Tags and Contributors

 Contributors to this page: arai, fscholz, nnethercote
 Last updated by: arai,