JsonCpp project page Classes Namespace JsonCpp home page

version.h
Go to the documentation of this file.
1#ifndef JSON_VERSION_H_INCLUDED
2#define JSON_VERSION_H_INCLUDED
3
4// Note: version must be updated in four 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// 4. /MODULE.bazel
11// IMPORTANT: also update the SOVERSION!!
12
13#define JSONCPP_VERSION_STRING "1.9.7"
14#define JSONCPP_VERSION_MAJOR 1
15#define JSONCPP_VERSION_MINOR 9
16#define JSONCPP_VERSION_PATCH 7
17#define JSONCPP_VERSION_QUALIFIER
18#define JSONCPP_VERSION_HEXA \
19 ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
20 (JSONCPP_VERSION_PATCH << 8))
21
22#if !defined(JSONCPP_USE_SECURE_MEMORY)
23#define JSONCPP_USE_SECURE_MEMORY 0
24#endif
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