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
18namespace v8 {
19
20constexpr uint32_t CurrentValueSerializerFormatVersion() { return 15; }
21
22}  // namespace v8
23
24#endif  // INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
25