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 5783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5794 */ | 5794 */ |
5795 static bool IsActive(); | 5795 static bool IsActive(); |
5796 | 5796 |
5797 private: | 5797 private: |
5798 void Initialize(Isolate* isolate); | 5798 void Initialize(Isolate* isolate); |
5799 | 5799 |
5800 bool has_lock_; | 5800 bool has_lock_; |
5801 bool top_level_; | 5801 bool top_level_; |
5802 internal::Isolate* isolate_; | 5802 internal::Isolate* isolate_; |
5803 | 5803 |
5804 static bool active_; | |
5805 | |
5806 // Disallow copying and assigning. | 5804 // Disallow copying and assigning. |
5807 Locker(const Locker&); | 5805 Locker(const Locker&); |
5808 void operator=(const Locker&); | 5806 void operator=(const Locker&); |
5809 }; | 5807 }; |
5810 | 5808 |
5811 | 5809 |
5812 // --- Implementation --- | 5810 // --- Implementation --- |
5813 | 5811 |
5814 | 5812 |
5815 namespace internal { | 5813 namespace internal { |
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7049 */ | 7047 */ |
7050 | 7048 |
7051 | 7049 |
7052 } // namespace v8 | 7050 } // namespace v8 |
7053 | 7051 |
7054 | 7052 |
7055 #undef TYPE_CHECK | 7053 #undef TYPE_CHECK |
7056 | 7054 |
7057 | 7055 |
7058 #endif // V8_H_ | 7056 #endif // V8_H_ |
OLD | NEW |