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

Side by Side Diff: include/v8.h

Issue 2670833008: Expose more %ArrayPrototype% functions to the public API. (Closed)
Patch Set: Rebased patch Created 3 years, 10 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/contexts.h » ('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 4600 matching lines...) Expand 10 before | Expand all | Expand 10 after
4611 */ 4611 */
4612 class V8_EXPORT External : public Value { 4612 class V8_EXPORT External : public Value {
4613 public: 4613 public:
4614 static Local<External> New(Isolate* isolate, void* value); 4614 static Local<External> New(Isolate* isolate, void* value);
4615 V8_INLINE static External* Cast(Value* obj); 4615 V8_INLINE static External* Cast(Value* obj);
4616 void* Value() const; 4616 void* Value() const;
4617 private: 4617 private:
4618 static void CheckCast(v8::Value* obj); 4618 static void CheckCast(v8::Value* obj);
4619 }; 4619 };
4620 4620
4621 4621 #define V8_INTRINSICS_LIST(F) \
4622 #define V8_INTRINSICS_LIST(F) F(ArrayProto_values, array_values_iterator) 4622 F(ArrayProto_entries, array_entries_iterator) \
4623 F(ArrayProto_forEach, array_for_each_iterator) \
4624 F(ArrayProto_keys, array_keys_iterator) \
4625 F(ArrayProto_values, array_values_iterator)
4623 4626
4624 enum Intrinsic { 4627 enum Intrinsic {
4625 #define V8_DECL_INTRINSIC(name, iname) k##name, 4628 #define V8_DECL_INTRINSIC(name, iname) k##name,
4626 V8_INTRINSICS_LIST(V8_DECL_INTRINSIC) 4629 V8_INTRINSICS_LIST(V8_DECL_INTRINSIC)
4627 #undef V8_DECL_INTRINSIC 4630 #undef V8_DECL_INTRINSIC
4628 }; 4631 };
4629 4632
4630 4633
4631 // --- Templates --- 4634 // --- Templates ---
4632 4635
(...skipping 5228 matching lines...) Expand 10 before | Expand all | Expand 10 after
9861 */ 9864 */
9862 9865
9863 9866
9864 } // namespace v8 9867 } // namespace v8
9865 9868
9866 9869
9867 #undef TYPE_CHECK 9870 #undef TYPE_CHECK
9868 9871
9869 9872
9870 #endif // INCLUDE_V8_H_ 9873 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698