| 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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 } | 786 } |
| 787 /** | 787 /** |
| 788 * Cast operator for moves. | 788 * Cast operator for moves. |
| 789 */ | 789 */ |
| 790 V8_INLINE operator RValue() { return RValue(this); } | 790 V8_INLINE operator RValue() { return RValue(this); } |
| 791 /** | 791 /** |
| 792 * Pass allows returning uniques from functions, etc. | 792 * Pass allows returning uniques from functions, etc. |
| 793 */ | 793 */ |
| 794 UniquePersistent Pass() { return UniquePersistent(RValue(this)); } | 794 UniquePersistent Pass() { return UniquePersistent(RValue(this)); } |
| 795 | 795 |
| 796 /* |
| 797 * For compatibility with Chromium's base::Bind (base::Passed). |
| 798 */ |
| 799 typedef void MoveOnlyTypeForCPP03; |
| 800 |
| 796 private: | 801 private: |
| 797 UniquePersistent(UniquePersistent&); | 802 UniquePersistent(UniquePersistent&); |
| 798 void operator=(UniquePersistent&); | 803 void operator=(UniquePersistent&); |
| 799 }; | 804 }; |
| 800 | 805 |
| 801 | 806 |
| 802 /** | 807 /** |
| 803 * A stack-allocated class that governs a number of local handles. | 808 * A stack-allocated class that governs a number of local handles. |
| 804 * After a handle scope has been created, all local handles will be | 809 * After a handle scope has been created, all local handles will be |
| 805 * allocated within that handle scope until either the handle scope is | 810 * allocated within that handle scope until either the handle scope is |
| (...skipping 6601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7407 */ | 7412 */ |
| 7408 | 7413 |
| 7409 | 7414 |
| 7410 } // namespace v8 | 7415 } // namespace v8 |
| 7411 | 7416 |
| 7412 | 7417 |
| 7413 #undef TYPE_CHECK | 7418 #undef TYPE_CHECK |
| 7414 | 7419 |
| 7415 | 7420 |
| 7416 #endif // V8_H_ | 7421 #endif // V8_H_ |
| OLD | NEW |