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 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 */ | 1723 */ |
1724 virtual void* ReallocateBufferMemory(void* old_buffer, size_t size, | 1724 virtual void* ReallocateBufferMemory(void* old_buffer, size_t size, |
1725 size_t* actual_size); | 1725 size_t* actual_size); |
1726 | 1726 |
1727 /* | 1727 /* |
1728 * Frees a buffer allocated with |ReallocateBufferMemory|. | 1728 * Frees a buffer allocated with |ReallocateBufferMemory|. |
1729 */ | 1729 */ |
1730 virtual void FreeBufferMemory(void* buffer); | 1730 virtual void FreeBufferMemory(void* buffer); |
1731 }; | 1731 }; |
1732 | 1732 |
| 1733 static uint32_t GetCurrentDataFormatVersion(); |
| 1734 |
1733 explicit ValueSerializer(Isolate* isolate); | 1735 explicit ValueSerializer(Isolate* isolate); |
1734 ValueSerializer(Isolate* isolate, Delegate* delegate); | 1736 ValueSerializer(Isolate* isolate, Delegate* delegate); |
1735 ~ValueSerializer(); | 1737 ~ValueSerializer(); |
1736 | 1738 |
1737 /* | 1739 /* |
1738 * Writes out a header, which includes the format version. | 1740 * Writes out a header, which includes the format version. |
1739 */ | 1741 */ |
1740 void WriteHeader(); | 1742 void WriteHeader(); |
1741 | 1743 |
1742 /* | 1744 /* |
(...skipping 8174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9917 */ | 9919 */ |
9918 | 9920 |
9919 | 9921 |
9920 } // namespace v8 | 9922 } // namespace v8 |
9921 | 9923 |
9922 | 9924 |
9923 #undef TYPE_CHECK | 9925 #undef TYPE_CHECK |
9924 | 9926 |
9925 | 9927 |
9926 #endif // INCLUDE_V8_H_ | 9928 #endif // INCLUDE_V8_H_ |
OLD | NEW |