| OLD | NEW |
| 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 4898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4909 | 4909 |
| 4910 /** | 4910 /** |
| 4911 * Optional notification that a context has been disposed. V8 uses | 4911 * Optional notification that a context has been disposed. V8 uses |
| 4912 * these notifications to guide the GC heuristic. Returns the number | 4912 * these notifications to guide the GC heuristic. Returns the number |
| 4913 * of context disposals - including this one - since the last time | 4913 * of context disposals - including this one - since the last time |
| 4914 * V8 had a chance to clean up. | 4914 * V8 had a chance to clean up. |
| 4915 */ | 4915 */ |
| 4916 static int ContextDisposedNotification(); | 4916 static int ContextDisposedNotification(); |
| 4917 | 4917 |
| 4918 /** | 4918 /** |
| 4919 * Performs a per-thread setup. The embedder should invoke this method |
| 4920 * in all threads (including the main thread) before V8 is initialized. |
| 4921 * |
| 4922 * Currently, this method enables the subnormal float support on QNX/ARM. |
| 4923 * It is a no-op on all the other platforms. |
| 4924 */ |
| 4925 static void PerformPerThreadSetup(); |
| 4926 |
| 4927 /** |
| 4919 * Initialize the ICU library bundled with V8. The embedder should only | 4928 * Initialize the ICU library bundled with V8. The embedder should only |
| 4920 * invoke this method when using the bundled ICU. Returns true on success. | 4929 * invoke this method when using the bundled ICU. Returns true on success. |
| 4921 * | 4930 * |
| 4922 * If V8 was compiled with the ICU data in an external file, the location | 4931 * If V8 was compiled with the ICU data in an external file, the location |
| 4923 * of the data file has to be provided. | 4932 * of the data file has to be provided. |
| 4924 */ | 4933 */ |
| 4925 static bool InitializeICU(const char* icu_data_file = NULL); | 4934 static bool InitializeICU(const char* icu_data_file = NULL); |
| 4926 | 4935 |
| 4927 /** | 4936 /** |
| 4928 * Sets the v8::Platform to use. This should be invoked before V8 is | 4937 * Sets the v8::Platform to use. This should be invoked before V8 is |
| (...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6654 */ | 6663 */ |
| 6655 | 6664 |
| 6656 | 6665 |
| 6657 } // namespace v8 | 6666 } // namespace v8 |
| 6658 | 6667 |
| 6659 | 6668 |
| 6660 #undef TYPE_CHECK | 6669 #undef TYPE_CHECK |
| 6661 | 6670 |
| 6662 | 6671 |
| 6663 #endif // V8_H_ | 6672 #endif // V8_H_ |
| OLD | NEW |