v8-value-serializer-version.h 648 B

123456789101112131415161718192021222324
  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. * Compile-time constants.
  6. *
  7. * This header provides access to information about the value serializer at
  8. * compile time, without declaring or defining any symbols that require linking
  9. * to V8.
  10. */
  11. #ifndef INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
  12. #define INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
  13. #include <stdint.h>
  14. namespace v8 {
  15. constexpr uint32_t CurrentValueSerializerFormatVersion() { return 15; }
  16. } // namespace v8
  17. #endif // INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_