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

Side by Side Diff: include/v8.h

Issue 2772723005: Export the current data format version used by ValueSerializer. (Closed)
Patch Set: . Created 3 years, 8 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/api.cc » ('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 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698