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 5703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5714 }; | 5714 }; |
5715 | 5715 |
5716 | 5716 |
5717 // --- Exceptions --- | 5717 // --- Exceptions --- |
5718 | 5718 |
5719 | 5719 |
5720 typedef void (*FatalErrorCallback)(const char* location, const char* message); | 5720 typedef void (*FatalErrorCallback)(const char* location, const char* message); |
5721 | 5721 |
5722 typedef void (*OOMErrorCallback)(const char* location, bool is_heap_oom); | 5722 typedef void (*OOMErrorCallback)(const char* location, bool is_heap_oom); |
5723 | 5723 |
5724 typedef void (*MessageCallback)(Local<Message> message, Local<Value> error); | 5724 typedef void (*MessageCallback)(Local<Message> message, Local<Value> data); |
5725 | 5725 |
5726 // --- Tracing --- | 5726 // --- Tracing --- |
5727 | 5727 |
5728 typedef void (*LogEventCallback)(const char* name, int event); | 5728 typedef void (*LogEventCallback)(const char* name, int event); |
5729 | 5729 |
5730 /** | 5730 /** |
5731 * Create new error objects by calling the corresponding error object | 5731 * Create new error objects by calling the corresponding error object |
5732 * constructor with the message. | 5732 * constructor with the message. |
5733 */ | 5733 */ |
5734 class V8_EXPORT Exception { | 5734 class V8_EXPORT Exception { |
(...skipping 4041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9776 */ | 9776 */ |
9777 | 9777 |
9778 | 9778 |
9779 } // namespace v8 | 9779 } // namespace v8 |
9780 | 9780 |
9781 | 9781 |
9782 #undef TYPE_CHECK | 9782 #undef TYPE_CHECK |
9783 | 9783 |
9784 | 9784 |
9785 #endif // INCLUDE_V8_H_ | 9785 #endif // INCLUDE_V8_H_ |
OLD | NEW |