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 6339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6350 create_histogram_callback(nullptr), | 6350 create_histogram_callback(nullptr), |
6351 add_histogram_sample_callback(nullptr), | 6351 add_histogram_sample_callback(nullptr), |
6352 array_buffer_allocator(nullptr), | 6352 array_buffer_allocator(nullptr), |
6353 external_references(nullptr), | 6353 external_references(nullptr), |
6354 allow_atomics_wait(true) {} | 6354 allow_atomics_wait(true) {} |
6355 | 6355 |
6356 /** | 6356 /** |
6357 * The optional entry_hook allows the host application to provide the | 6357 * The optional entry_hook allows the host application to provide the |
6358 * address of a function that's invoked on entry to every V8-generated | 6358 * address of a function that's invoked on entry to every V8-generated |
6359 * function. Note that entry_hook is invoked at the very start of each | 6359 * function. Note that entry_hook is invoked at the very start of each |
6360 * generated function. Furthermore, if an entry_hook is given, V8 will | 6360 * generated function. |
6361 * not use a snapshot, including custom snapshots. | 6361 * An entry_hook can only be provided in no-snapshot builds; in snapshot |
6362 * builds it must be NULL. | |
jochen (gone - plz use gerrit)
2017/03/07 11:42:44
nit nullptr
Jakob Kummerow
2017/03/07 12:43:42
Done.
| |
6362 */ | 6363 */ |
6363 FunctionEntryHook entry_hook; | 6364 FunctionEntryHook entry_hook; |
6364 | 6365 |
6365 /** | 6366 /** |
6366 * Allows the host application to provide the address of a function that is | 6367 * Allows the host application to provide the address of a function that is |
6367 * notified each time code is added, moved or removed. | 6368 * notified each time code is added, moved or removed. |
6368 */ | 6369 */ |
6369 JitCodeEventHandler code_event_handler; | 6370 JitCodeEventHandler code_event_handler; |
6370 | 6371 |
6371 /** | 6372 /** |
(...skipping 3438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9810 */ | 9811 */ |
9811 | 9812 |
9812 | 9813 |
9813 } // namespace v8 | 9814 } // namespace v8 |
9814 | 9815 |
9815 | 9816 |
9816 #undef TYPE_CHECK | 9817 #undef TYPE_CHECK |
9817 | 9818 |
9818 | 9819 |
9819 #endif // INCLUDE_V8_H_ | 9820 #endif // INCLUDE_V8_H_ |
OLD | NEW |