v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 4864 | skipping to change at line 4864 | |||
* Optional notification that a context has been disposed. V8 uses | * Optional notification that a context has been disposed. V8 uses | |||
* these notifications to guide the GC heuristic. Returns the number | * these notifications to guide the GC heuristic. Returns the number | |||
* of context disposals - including this one - since the last time | * of context disposals - including this one - since the last time | |||
* V8 had a chance to clean up. | * V8 had a chance to clean up. | |||
*/ | */ | |||
static int ContextDisposedNotification(); | static int ContextDisposedNotification(); | |||
/** | /** | |||
* Initialize the ICU library bundled with V8. The embedder should only | * Initialize the ICU library bundled with V8. The embedder should only | |||
* invoke this method when using the bundled ICU. Returns true on success . | * invoke this method when using the bundled ICU. Returns true on success . | |||
* | ||||
* If V8 was compiled with the ICU data in an external file, the location | ||||
* of the data file has to be provided. | ||||
*/ | */ | |||
static bool InitializeICU(); | static bool InitializeICU(const char* icu_data_file = NULL); | |||
/** | /** | |||
* Sets the v8::Platform to use. This should be invoked before V8 is | * Sets the v8::Platform to use. This should be invoked before V8 is | |||
* initialized. | * initialized. | |||
*/ | */ | |||
static void InitializePlatform(Platform* platform); | static void InitializePlatform(Platform* platform); | |||
/** | /** | |||
* Clears all references to the v8::Platform. This should be invoked afte r | * Clears all references to the v8::Platform. This should be invoked afte r | |||
* V8 was disposed. | * V8 was disposed. | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added | |||