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

Side by Side Diff: include/v8-value-serializer-version.h

Issue 2804643006: Expose the ValueSerializer data format version as a compile-time constant. (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 | « include/v8.h ('k') | 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
(Empty)
1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * Compile-time constants.
7 *
8 * This header provides access to information about the value serializer at
9 * compile time, without declaring or defining any symbols that require linking
10 * to V8.
11 */
12
13 #ifndef INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
14 #define INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
15
16 #include <stdint.h>
17
18 namespace v8 {
19
20 constexpr uint32_t CurrentValueSerializerFormatVersion() { return 13; }
21
22 } // namespace v8
23
24 #endif // INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698