Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: include/v8.h

Issue 1314863002: Version 4.5.103.27 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.5
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | include/v8-version.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 6230 matching lines...) Expand 10 before | Expand all | Expand 10 after
6241 /** 6241 /**
6242 * Initialize the ICU library bundled with V8. The embedder should only 6242 * Initialize the ICU library bundled with V8. The embedder should only
6243 * invoke this method when using the bundled ICU. Returns true on success. 6243 * invoke this method when using the bundled ICU. Returns true on success.
6244 * 6244 *
6245 * If V8 was compiled with the ICU data in an external file, the location 6245 * If V8 was compiled with the ICU data in an external file, the location
6246 * of the data file has to be provided. 6246 * of the data file has to be provided.
6247 */ 6247 */
6248 static bool InitializeICU(const char* icu_data_file = NULL); 6248 static bool InitializeICU(const char* icu_data_file = NULL);
6249 6249
6250 /** 6250 /**
6251 * Initialize the external startup data. The embedder only needs to
6252 * invoke this method when external startup data was enabled in a build.
6253 *
6254 * If V8 was compiled with the startup data in an external file, then
6255 * V8 needs to be given those external files during startup. There are
6256 * three ways to do this:
6257 * - InitializeExternalStartupData(const char*)
6258 * This will look in the given directory for files "natives_blob.bin"
6259 * and "snapshot_blob.bin" - which is what the default build calls them.
6260 * - InitializeExternalStartupData(const char*, const char*)
6261 * As above, but will directly use the two given file names.
6262 * - Call SetNativesDataBlob, SetNativesDataBlob.
6263 * This will read the blobs from the given data structures and will
6264 * not perform any file IO.
6265 */
6266 static void InitializeExternalStartupData(const char* directory_path);
6267 static void InitializeExternalStartupData(const char* natives_blob,
6268 const char* snapshot_blob);
6269 /**
6251 * Sets the v8::Platform to use. This should be invoked before V8 is 6270 * Sets the v8::Platform to use. This should be invoked before V8 is
6252 * initialized. 6271 * initialized.
6253 */ 6272 */
6254 static void InitializePlatform(Platform* platform); 6273 static void InitializePlatform(Platform* platform);
6255 6274
6256 /** 6275 /**
6257 * Clears all references to the v8::Platform. This should be invoked after 6276 * Clears all references to the v8::Platform. This should be invoked after
6258 * V8 was disposed. 6277 * V8 was disposed.
6259 */ 6278 */
6260 static void ShutdownPlatform(); 6279 static void ShutdownPlatform();
(...skipping 2077 matching lines...) Expand 10 before | Expand all | Expand 10 after
8338 */ 8357 */
8339 8358
8340 8359
8341 } // namespace v8 8360 } // namespace v8
8342 8361
8343 8362
8344 #undef TYPE_CHECK 8363 #undef TYPE_CHECK
8345 8364
8346 8365
8347 #endif // V8_H_ 8366 #endif // V8_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | include/v8-version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698