| 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 6327 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6338    */ | 6338    */ | 
| 6339   struct CreateParams { | 6339   struct CreateParams { | 
| 6340     CreateParams() | 6340     CreateParams() | 
| 6341         : entry_hook(nullptr), | 6341         : entry_hook(nullptr), | 
| 6342           code_event_handler(nullptr), | 6342           code_event_handler(nullptr), | 
| 6343           snapshot_blob(nullptr), | 6343           snapshot_blob(nullptr), | 
| 6344           counter_lookup_callback(nullptr), | 6344           counter_lookup_callback(nullptr), | 
| 6345           create_histogram_callback(nullptr), | 6345           create_histogram_callback(nullptr), | 
| 6346           add_histogram_sample_callback(nullptr), | 6346           add_histogram_sample_callback(nullptr), | 
| 6347           array_buffer_allocator(nullptr), | 6347           array_buffer_allocator(nullptr), | 
| 6348           external_references(nullptr) {} | 6348           external_references(nullptr), | 
|  | 6349           allow_atomics_wait(true) {} | 
| 6349 | 6350 | 
| 6350     /** | 6351     /** | 
| 6351      * The optional entry_hook allows the host application to provide the | 6352      * The optional entry_hook allows the host application to provide the | 
| 6352      * address of a function that's invoked on entry to every V8-generated | 6353      * address of a function that's invoked on entry to every V8-generated | 
| 6353      * function.  Note that entry_hook is invoked at the very start of each | 6354      * function.  Note that entry_hook is invoked at the very start of each | 
| 6354      * generated function. Furthermore, if an entry_hook is given, V8 will | 6355      * generated function. Furthermore, if an entry_hook is given, V8 will | 
| 6355      * not use a snapshot, including custom snapshots. | 6356      * not use a snapshot, including custom snapshots. | 
| 6356      */ | 6357      */ | 
| 6357     FunctionEntryHook entry_hook; | 6358     FunctionEntryHook entry_hook; | 
| 6358 | 6359 | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6394      */ | 6395      */ | 
| 6395     ArrayBuffer::Allocator* array_buffer_allocator; | 6396     ArrayBuffer::Allocator* array_buffer_allocator; | 
| 6396 | 6397 | 
| 6397     /** | 6398     /** | 
| 6398      * Specifies an optional nullptr-terminated array of raw addresses in the | 6399      * Specifies an optional nullptr-terminated array of raw addresses in the | 
| 6399      * embedder that V8 can match against during serialization and use for | 6400      * embedder that V8 can match against during serialization and use for | 
| 6400      * deserialization. This array and its content must stay valid for the | 6401      * deserialization. This array and its content must stay valid for the | 
| 6401      * entire lifetime of the isolate. | 6402      * entire lifetime of the isolate. | 
| 6402      */ | 6403      */ | 
| 6403     intptr_t* external_references; | 6404     intptr_t* external_references; | 
|  | 6405 | 
|  | 6406     /** | 
|  | 6407      * Whether calling Atomics.wait (a function that may block) is allowed in | 
|  | 6408      * this isolate. | 
|  | 6409      */ | 
|  | 6410     bool allow_atomics_wait; | 
| 6404   }; | 6411   }; | 
| 6405 | 6412 | 
| 6406 | 6413 | 
| 6407   /** | 6414   /** | 
| 6408    * Stack-allocated class which sets the isolate for all operations | 6415    * Stack-allocated class which sets the isolate for all operations | 
| 6409    * executed within a local scope. | 6416    * executed within a local scope. | 
| 6410    */ | 6417    */ | 
| 6411   class V8_EXPORT Scope { | 6418   class V8_EXPORT Scope { | 
| 6412    public: | 6419    public: | 
| 6413     explicit Scope(Isolate* isolate) : isolate_(isolate) { | 6420     explicit Scope(Isolate* isolate) : isolate_(isolate) { | 
| (...skipping 3435 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 9849  */ | 9856  */ | 
| 9850 | 9857 | 
| 9851 | 9858 | 
| 9852 }  // namespace v8 | 9859 }  // namespace v8 | 
| 9853 | 9860 | 
| 9854 | 9861 | 
| 9855 #undef TYPE_CHECK | 9862 #undef TYPE_CHECK | 
| 9856 | 9863 | 
| 9857 | 9864 | 
| 9858 #endif  // INCLUDE_V8_H_ | 9865 #endif  // INCLUDE_V8_H_ | 
| OLD | NEW | 
|---|