Jordan Bayles | 7b28698 | 2019-08-13 22:41:43 -0700 | [diff] [blame] | 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 | |
David Seifert | 6bc55ec | 2020-01-07 02:23:50 +0100 | [diff] [blame] | 12 | #define JSONCPP_VERSION_STRING "1.9.3" |
Jordan Bayles | 7b28698 | 2019-08-13 22:41:43 -0700 | [diff] [blame] | 13 | #define JSONCPP_VERSION_MAJOR 1 |
| 14 | #define JSONCPP_VERSION_MINOR 9 |
David Seifert | 6bc55ec | 2020-01-07 02:23:50 +0100 | [diff] [blame] | 15 | #define JSONCPP_VERSION_PATCH 3 |
Jordan Bayles | 7b28698 | 2019-08-13 22:41:43 -0700 | [diff] [blame] | 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 | #ifdef JSONCPP_USING_SECURE_MEMORY |
| 22 | #undef JSONCPP_USING_SECURE_MEMORY |
| 23 | #endif |
| 24 | #define JSONCPP_USING_SECURE_MEMORY 0 |
| 25 | // If non-zero, the library zeroes any memory that it has allocated before |
| 26 | // it frees its memory. |
| 27 | |
| 28 | #endif // JSON_VERSION_H_INCLUDED |