version.h 966 B

12345678910111213141516171819202122232425262728
  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.5"
  11. #define JSONCPP_VERSION_MAJOR 1
  12. #define JSONCPP_VERSION_MINOR 9
  13. #define JSONCPP_VERSION_PATCH 5
  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. #ifdef JSONCPP_USING_SECURE_MEMORY
  19. #undef JSONCPP_USING_SECURE_MEMORY
  20. #endif
  21. #define JSONCPP_USING_SECURE_MEMORY 0
  22. // If non-zero, the library zeroes any memory that it has allocated before
  23. // it frees its memory.
  24. #endif // JSON_VERSION_H_INCLUDED