Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: include/v8.h

Issue 2185963002: [api] Add v8::Object::SetAlignedPointerInInternalFields (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixing typo Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2874 matching lines...) Expand 10 before | Expand all | Expand 10 after
2885 const PersistentBase<Object>& object, int index) { 2885 const PersistentBase<Object>& object, int index) {
2886 return object.val_->GetAlignedPointerFromInternalField(index); 2886 return object.val_->GetAlignedPointerFromInternalField(index);
2887 } 2887 }
2888 2888
2889 /** 2889 /**
2890 * Sets a 2-byte-aligned native pointer in an internal field. To retrieve such 2890 * Sets a 2-byte-aligned native pointer in an internal field. To retrieve such
2891 * a field, GetAlignedPointerFromInternalField must be used, everything else 2891 * a field, GetAlignedPointerFromInternalField must be used, everything else
2892 * leads to undefined behavior. 2892 * leads to undefined behavior.
2893 */ 2893 */
2894 void SetAlignedPointerInInternalField(int index, void* value); 2894 void SetAlignedPointerInInternalField(int index, void* value);
2895 void SetAlignedPointerInInternalFields(int argc, int indices[],
2896 void* values[]);
jochen (gone - plz use gerrit) 2016/07/27 11:37:56 can we inline the body in the header?
2895 2897
2896 // Testers for local properties. 2898 // Testers for local properties.
2897 V8_DEPRECATED("Use maybe version", bool HasOwnProperty(Local<String> key)); 2899 V8_DEPRECATED("Use maybe version", bool HasOwnProperty(Local<String> key));
2898 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context, 2900 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context,
2899 Local<Name> key); 2901 Local<Name> key);
2900 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context, 2902 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context,
2901 uint32_t index); 2903 uint32_t index);
2902 V8_DEPRECATE_SOON("Use maybe version", 2904 V8_DEPRECATE_SOON("Use maybe version",
2903 bool HasRealNamedProperty(Local<String> key)); 2905 bool HasRealNamedProperty(Local<String> key));
2904 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedProperty(Local<Context> context, 2906 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedProperty(Local<Context> context,
(...skipping 6050 matching lines...) Expand 10 before | Expand all | Expand 10 after
8955 */ 8957 */
8956 8958
8957 8959
8958 } // namespace v8 8960 } // namespace v8
8959 8961
8960 8962
8961 #undef TYPE_CHECK 8963 #undef TYPE_CHECK
8962 8964
8963 8965
8964 #endif // INCLUDE_V8_H_ 8966 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698