v8  6.8.275 (node 10.15.3)
V8 is Google's open source JavaScript engine
v8-value-serializer-version.h
Go to the documentation of this file.
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_