11cb0ef41Sopenharmony_ci// Copyright 2017 the V8 project authors. All rights reserved.
21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be
31cb0ef41Sopenharmony_ci// found in the LICENSE file.
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ci/**
61cb0ef41Sopenharmony_ci * Compile-time constants.
71cb0ef41Sopenharmony_ci *
81cb0ef41Sopenharmony_ci * This header provides access to information about the value serializer at
91cb0ef41Sopenharmony_ci * compile time, without declaring or defining any symbols that require linking
101cb0ef41Sopenharmony_ci * to V8.
111cb0ef41Sopenharmony_ci */
121cb0ef41Sopenharmony_ci
131cb0ef41Sopenharmony_ci#ifndef INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
141cb0ef41Sopenharmony_ci#define INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
151cb0ef41Sopenharmony_ci
161cb0ef41Sopenharmony_ci#include <stdint.h>
171cb0ef41Sopenharmony_ci
181cb0ef41Sopenharmony_cinamespace v8 {
191cb0ef41Sopenharmony_ci
201cb0ef41Sopenharmony_ciconstexpr uint32_t CurrentValueSerializerFormatVersion() { return 15; }
211cb0ef41Sopenharmony_ci
221cb0ef41Sopenharmony_ci}  // namespace v8
231cb0ef41Sopenharmony_ci
241cb0ef41Sopenharmony_ci#endif  // INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
25