| 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 1747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1758 */ | 1758 */ |
| 1759 virtual void* ReallocateBufferMemory(void* old_buffer, size_t size, | 1759 virtual void* ReallocateBufferMemory(void* old_buffer, size_t size, |
| 1760 size_t* actual_size); | 1760 size_t* actual_size); |
| 1761 | 1761 |
| 1762 /** | 1762 /** |
| 1763 * Frees a buffer allocated with |ReallocateBufferMemory|. | 1763 * Frees a buffer allocated with |ReallocateBufferMemory|. |
| 1764 */ | 1764 */ |
| 1765 virtual void FreeBufferMemory(void* buffer); | 1765 virtual void FreeBufferMemory(void* buffer); |
| 1766 }; | 1766 }; |
| 1767 | 1767 |
| 1768 static uint32_t GetCurrentDataFormatVersion(); | |
| 1769 | |
| 1770 explicit ValueSerializer(Isolate* isolate); | 1768 explicit ValueSerializer(Isolate* isolate); |
| 1771 ValueSerializer(Isolate* isolate, Delegate* delegate); | 1769 ValueSerializer(Isolate* isolate, Delegate* delegate); |
| 1772 ~ValueSerializer(); | 1770 ~ValueSerializer(); |
| 1773 | 1771 |
| 1774 /** | 1772 /** |
| 1775 * Writes out a header, which includes the format version. | 1773 * Writes out a header, which includes the format version. |
| 1776 */ | 1774 */ |
| 1777 void WriteHeader(); | 1775 void WriteHeader(); |
| 1778 | 1776 |
| 1779 /** | 1777 /** |
| (...skipping 8218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9998 */ | 9996 */ |
| 9999 | 9997 |
| 10000 | 9998 |
| 10001 } // namespace v8 | 9999 } // namespace v8 |
| 10002 | 10000 |
| 10003 | 10001 |
| 10004 #undef TYPE_CHECK | 10002 #undef TYPE_CHECK |
| 10005 | 10003 |
| 10006 | 10004 |
| 10007 #endif // INCLUDE_V8_H_ | 10005 #endif // INCLUDE_V8_H_ |
| OLD | NEW |