| 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 2860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2871 * Sets a 2-byte-aligned native pointer in an internal field. To retrieve such | 2871 * Sets a 2-byte-aligned native pointer in an internal field. To retrieve such |
| 2872 * a field, GetAlignedPointerFromInternalField must be used, everything else | 2872 * a field, GetAlignedPointerFromInternalField must be used, everything else |
| 2873 * leads to undefined behavior. | 2873 * leads to undefined behavior. |
| 2874 */ | 2874 */ |
| 2875 void SetAlignedPointerInInternalField(int index, void* value); | 2875 void SetAlignedPointerInInternalField(int index, void* value); |
| 2876 | 2876 |
| 2877 // Testers for local properties. | 2877 // Testers for local properties. |
| 2878 V8_DEPRECATED("Use maybe version", bool HasOwnProperty(Local<String> key)); | 2878 V8_DEPRECATED("Use maybe version", bool HasOwnProperty(Local<String> key)); |
| 2879 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context, | 2879 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context, |
| 2880 Local<Name> key); | 2880 Local<Name> key); |
| 2881 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context, |
| 2882 uint32_t index); |
| 2881 V8_DEPRECATE_SOON("Use maybe version", | 2883 V8_DEPRECATE_SOON("Use maybe version", |
| 2882 bool HasRealNamedProperty(Local<String> key)); | 2884 bool HasRealNamedProperty(Local<String> key)); |
| 2883 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedProperty(Local<Context> context, | 2885 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedProperty(Local<Context> context, |
| 2884 Local<Name> key); | 2886 Local<Name> key); |
| 2885 V8_DEPRECATE_SOON("Use maybe version", | 2887 V8_DEPRECATE_SOON("Use maybe version", |
| 2886 bool HasRealIndexedProperty(uint32_t index)); | 2888 bool HasRealIndexedProperty(uint32_t index)); |
| 2887 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealIndexedProperty( | 2889 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealIndexedProperty( |
| 2888 Local<Context> context, uint32_t index); | 2890 Local<Context> context, uint32_t index); |
| 2889 V8_DEPRECATE_SOON("Use maybe version", | 2891 V8_DEPRECATE_SOON("Use maybe version", |
| 2890 bool HasRealNamedCallbackProperty(Local<String> key)); | 2892 bool HasRealNamedCallbackProperty(Local<String> key)); |
| (...skipping 5852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8743 */ | 8745 */ |
| 8744 | 8746 |
| 8745 | 8747 |
| 8746 } // namespace v8 | 8748 } // namespace v8 |
| 8747 | 8749 |
| 8748 | 8750 |
| 8749 #undef TYPE_CHECK | 8751 #undef TYPE_CHECK |
| 8750 | 8752 |
| 8751 | 8753 |
| 8752 #endif // INCLUDE_V8_H_ | 8754 #endif // INCLUDE_V8_H_ |
| OLD | NEW |