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 5108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5119 * Creates a new isolate. Does not change the currently entered | 5119 * Creates a new isolate. Does not change the currently entered |
5120 * isolate. | 5120 * isolate. |
5121 * | 5121 * |
5122 * When an isolate is no longer used its resources should be freed | 5122 * When an isolate is no longer used its resources should be freed |
5123 * by calling Dispose(). Using the delete operator is not allowed. | 5123 * by calling Dispose(). Using the delete operator is not allowed. |
5124 * | 5124 * |
5125 * V8::Initialize() must have run prior to this. | 5125 * V8::Initialize() must have run prior to this. |
5126 */ | 5126 */ |
5127 static Isolate* New(const CreateParams& params); | 5127 static Isolate* New(const CreateParams& params); |
5128 | 5128 |
5129 static V8_DEPRECATE_SOON("Always pass CreateParams", Isolate* New()); | 5129 static V8_DEPRECATED("Always pass CreateParams", Isolate* New()); |
5130 | 5130 |
5131 /** | 5131 /** |
5132 * Returns the entered isolate for the current thread or NULL in | 5132 * Returns the entered isolate for the current thread or NULL in |
5133 * case there is no current isolate. | 5133 * case there is no current isolate. |
5134 * | 5134 * |
5135 * This method must not be invoked before V8::Initialize() was invoked. | 5135 * This method must not be invoked before V8::Initialize() was invoked. |
5136 */ | 5136 */ |
5137 static Isolate* GetCurrent(); | 5137 static Isolate* GetCurrent(); |
5138 | 5138 |
5139 /** | 5139 /** |
(...skipping 2882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8022 */ | 8022 */ |
8023 | 8023 |
8024 | 8024 |
8025 } // namespace v8 | 8025 } // namespace v8 |
8026 | 8026 |
8027 | 8027 |
8028 #undef TYPE_CHECK | 8028 #undef TYPE_CHECK |
8029 | 8029 |
8030 | 8030 |
8031 #endif // V8_H_ | 8031 #endif // V8_H_ |
OLD | NEW |