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 2947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2958 | 2958 |
2959 /** | 2959 /** |
2960 * Returns the identity hash for this object. The current implementation | 2960 * Returns the identity hash for this object. The current implementation |
2961 * uses a hidden property on the object to store the identity hash. | 2961 * uses a hidden property on the object to store the identity hash. |
2962 * | 2962 * |
2963 * The return value will never be 0. Also, it is not guaranteed to be | 2963 * The return value will never be 0. Also, it is not guaranteed to be |
2964 * unique. | 2964 * unique. |
2965 */ | 2965 */ |
2966 int GetIdentityHash(); | 2966 int GetIdentityHash(); |
2967 | 2967 |
2968 V8_DEPRECATED("Use v8::Object::SetPrivate instead.", | |
2969 bool SetHiddenValue(Local<String> key, Local<Value> value)); | |
2970 V8_DEPRECATED("Use v8::Object::GetPrivate instead.", | |
2971 Local<Value> GetHiddenValue(Local<String> key)); | |
2972 V8_DEPRECATED("Use v8::Object::DeletePrivate instead.", | |
2973 bool DeleteHiddenValue(Local<String> key)); | |
2974 | |
2975 /** | 2968 /** |
2976 * Clone this object with a fast but shallow copy. Values will point | 2969 * Clone this object with a fast but shallow copy. Values will point |
2977 * to the same values as the original object. | 2970 * to the same values as the original object. |
2978 */ | 2971 */ |
2979 // TODO(dcarney): take an isolate and optionally bail out? | 2972 // TODO(dcarney): take an isolate and optionally bail out? |
2980 Local<Object> Clone(); | 2973 Local<Object> Clone(); |
2981 | 2974 |
2982 /** | 2975 /** |
2983 * Returns the context in which the object was created. | 2976 * Returns the context in which the object was created. |
2984 */ | 2977 */ |
(...skipping 5789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8774 */ | 8767 */ |
8775 | 8768 |
8776 | 8769 |
8777 } // namespace v8 | 8770 } // namespace v8 |
8778 | 8771 |
8779 | 8772 |
8780 #undef TYPE_CHECK | 8773 #undef TYPE_CHECK |
8781 | 8774 |
8782 | 8775 |
8783 #endif // INCLUDE_V8_H_ | 8776 #endif // INCLUDE_V8_H_ |
OLD | NEW |