| 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 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 // Make it hard to create heap-allocated or illegal handle scopes by | 1011 // Make it hard to create heap-allocated or illegal handle scopes by |
| 1012 // disallowing certain operations. | 1012 // disallowing certain operations. |
| 1013 EscapableHandleScope(const EscapableHandleScope&); | 1013 EscapableHandleScope(const EscapableHandleScope&); |
| 1014 void operator=(const EscapableHandleScope&); | 1014 void operator=(const EscapableHandleScope&); |
| 1015 void* operator new(size_t size); | 1015 void* operator new(size_t size); |
| 1016 void operator delete(void*, size_t); | 1016 void operator delete(void*, size_t); |
| 1017 | 1017 |
| 1018 internal::Object** escape_slot_; | 1018 internal::Object** escape_slot_; |
| 1019 }; | 1019 }; |
| 1020 | 1020 |
| 1021 class V8_EXPORT SealHandleScope { |
| 1022 public: |
| 1023 SealHandleScope(Isolate* isolate); |
| 1024 ~SealHandleScope(); |
| 1025 |
| 1026 private: |
| 1027 // Make it hard to create heap-allocated or illegal handle scopes by |
| 1028 // disallowing certain operations. |
| 1029 SealHandleScope(const SealHandleScope&); |
| 1030 void operator=(const SealHandleScope&); |
| 1031 void* operator new(size_t size); |
| 1032 void operator delete(void*, size_t); |
| 1033 |
| 1034 internal::Isolate* isolate_; |
| 1035 int prev_level_; |
| 1036 internal::Object** prev_limit_; |
| 1037 }; |
| 1038 |
| 1021 | 1039 |
| 1022 // --- Special objects --- | 1040 // --- Special objects --- |
| 1023 | 1041 |
| 1024 | 1042 |
| 1025 /** | 1043 /** |
| 1026 * The superclass of values and API object templates. | 1044 * The superclass of values and API object templates. |
| 1027 */ | 1045 */ |
| 1028 class V8_EXPORT Data { | 1046 class V8_EXPORT Data { |
| 1029 private: | 1047 private: |
| 1030 Data(); | 1048 Data(); |
| (...skipping 7037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8068 */ | 8086 */ |
| 8069 | 8087 |
| 8070 | 8088 |
| 8071 } // namespace v8 | 8089 } // namespace v8 |
| 8072 | 8090 |
| 8073 | 8091 |
| 8074 #undef TYPE_CHECK | 8092 #undef TYPE_CHECK |
| 8075 | 8093 |
| 8076 | 8094 |
| 8077 #endif // V8_H_ | 8095 #endif // V8_H_ |
| OLD | NEW |