]> git.feebdaed.xyz Git - 0xmirror/cJSON.git/commitdiff
Update version to 1.7.13
authorAlanscut <wp_scut@163.com>
Thu, 2 Apr 2020 15:34:28 +0000 (23:34 +0800)
committerAlanscut <wp_scut@163.com>
Thu, 2 Apr 2020 15:34:28 +0000 (23:34 +0800)
CMakeLists.txt
Makefile
cJSON.c
cJSON.h

index 34ad39f2f1ca0d3f876713518b0b69168ca3acc5..913c1524601c423d19d261113cfebcac13627173 100644 (file)
@@ -7,7 +7,7 @@ include(GNUInstallDirs)
 
 set(PROJECT_VERSION_MAJOR 1)
 set(PROJECT_VERSION_MINOR 7)
-set(PROJECT_VERSION_PATCH 12)
+set(PROJECT_VERSION_PATCH 13)
 set(CJSON_VERSION_SO 1)
 set(CJSON_UTILS_VERSION_SO 1)
 set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
index 0e58d5cef58ab9bfb55936e431d58682c7266eb5..4e727b733f346459d8c115929852ec788f4288e6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ CJSON_TEST_SRC = cJSON.c test.c
 
 LDLIBS = -lm
 
-LIBVERSION = 1.7.12
+LIBVERSION = 1.7.13
 CJSON_SOVERSION = 1
 UTILS_SOVERSION = 1
 
diff --git a/cJSON.c b/cJSON.c
index 5a666db20e9d25882cdec8a1c06828efb6a796e0..a5d39878c29ad8b42f29851744c587f61ea01181 100644 (file)
--- a/cJSON.c
+++ b/cJSON.c
@@ -113,7 +113,7 @@ CJSON_PUBLIC(double) cJSON_GetNumberValue(cJSON *item)
 }
 
 /* This is a safeguard to prevent copy-pasters from using incompatible C and header files */
-#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 12)
+#if (CJSON_VERSION_MAJOR != 1) || (CJSON_VERSION_MINOR != 7) || (CJSON_VERSION_PATCH != 13)
     #error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
 #endif
 
diff --git a/cJSON.h b/cJSON.h
index 0f832d254b915856b768a0dec6b073cad00e7ac0..0c6c8e070efd754803e8d8b6549e2bb34315e9a4 100644 (file)
--- a/cJSON.h
+++ b/cJSON.h
@@ -81,7 +81,7 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ
 /* project version */
 #define CJSON_VERSION_MAJOR 1
 #define CJSON_VERSION_MINOR 7
-#define CJSON_VERSION_PATCH 12
+#define CJSON_VERSION_PATCH 13
 
 #include <stddef.h>