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

Side by Side Diff: include/v8.h

Issue 15848010: Fix ReturnValue::Set. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: friend instead Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 789
790 private: 790 private:
791 // TODO(dcarney): remove before cutover 791 // TODO(dcarney): remove before cutover
792 V8_INLINE(T* operator->() const) { return val_; } 792 V8_INLINE(T* operator->() const) { return val_; }
793 public: 793 public:
794 #endif 794 #endif
795 795
796 private: 796 private:
797 template<class F> friend class Handle; 797 template<class F> friend class Handle;
798 template<class F> friend class Local; 798 template<class F> friend class Local;
799 template<class F> friend class ReturnValue;
799 friend class ImplementationUtilities; 800 friend class ImplementationUtilities;
800 friend class ObjectTemplate; 801 friend class ObjectTemplate;
801 friend class Context; 802 friend class Context;
802 friend class InternalHandleHelper; 803 friend class InternalHandleHelper;
803 friend class LocalContext; 804 friend class LocalContext;
804 805
805 V8_INLINE(static Persistent<T> New(Isolate* isolate, T* that)); 806 V8_INLINE(static Persistent<T> New(Isolate* isolate, T* that));
806 807
807 #ifndef V8_USE_UNSAFE_HANDLES 808 #ifndef V8_USE_UNSAFE_HANDLES
808 T* val_; 809 T* val_;
(...skipping 5492 matching lines...) Expand 10 before | Expand all | Expand 10 after
6301 6302
6302 6303
6303 } // namespace v8 6304 } // namespace v8
6304 6305
6305 6306
6306 #undef V8EXPORT 6307 #undef V8EXPORT
6307 #undef TYPE_CHECK 6308 #undef TYPE_CHECK
6308 6309
6309 6310
6310 #endif // V8_H_ 6311 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698