version.h 936 B

123456789101112131415161718192021222324252627
  1. #ifndef JSON_VERSION_H_INCLUDED
  2. #define JSON_VERSION_H_INCLUDED
  3. // Note: version must be updated in three places when doing a release. This
  4. // annoying process ensures that amalgamate, CMake, and meson all report the
  5. // correct version.
  6. // 1. /meson.build
  7. // 2. /include/json/version.h
  8. // 3. /CMakeLists.txt
  9. // IMPORTANT: also update the SOVERSION!!
  10. #define JSONCPP_VERSION_STRING "1.9.6"
  11. #define JSONCPP_VERSION_MAJOR 1
  12. #define JSONCPP_VERSION_MINOR 9
  13. #define JSONCPP_VERSION_PATCH 6
  14. #define JSONCPP_VERSION_QUALIFIER
  15. #define JSONCPP_VERSION_HEXA \
  16. ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
  17. (JSONCPP_VERSION_PATCH << 8))
  18. #if !defined(JSONCPP_USE_SECURE_MEMORY)
  19. #define JSONCPP_USING_SECURE_MEMORY 0
  20. #endif
  21. // If non-zero, the library zeroes any memory that it has allocated before
  22. // it frees its memory.
  23. #endif // JSON_VERSION_H_INCLUDED