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