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.8"
14#define JSONCPP_VERSION_MAJOR 1
15#define JSONCPP_VERSION_MINOR 9
16#define JSONCPP_VERSION_PATCH 8
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_USE_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