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