Skip to content

Commit c0ff1fe

Browse files
committed
Release 1.3.1
1 parent 29f312d commit c0ff1fe

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ project(cJSON C)
99

1010
set(PROJECT_VERSION_MAJOR 1)
1111
set(PROJECT_VERSION_MINOR 3)
12-
set(PROJECT_VERSION_PATCH 0)
12+
set(PROJECT_VERSION_PATCH 1)
1313
set(CJSON_VERSION_SO 1)
1414
set(CJSON_UTILS_VERSION_SO 1)
1515
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ UTILS_TEST_SRC = cJSON.c cJSON_Utils.c test_utils.c
1010

1111
LDLIBS = -lm
1212

13-
LIBVERSION = 1.3.0
13+
LIBVERSION = 1.3.1
1414
CJSON_SOVERSION = 1
1515
UTILS_SOVERSION = 1
1616

cJSON.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const char *cJSON_GetErrorPtr(void)
4545
}
4646

4747
/* This is a safeguard to prevent copy-pasters from using incompatible C and header files */
48-
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 3) || (CJSON_VERSION_PATCH != 0)
48+
#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 3) || (CJSON_VERSION_PATCH != 1)
4949
#error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
5050
#endif
5151

cJSON.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C"
3131
/* project version */
3232
#define CJSON_VERSION_MAJOR 1
3333
#define CJSON_VERSION_MINOR 3
34-
#define CJSON_VERSION_PATCH 0
34+
#define CJSON_VERSION_PATCH 1
3535

3636
/* returns the version of cJSON as a string */
3737
extern const char* cJSON_Version(void);

0 commit comments

Comments
 (0)