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

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.

Document Tags and Contributors

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