1.make it can been compiled with Visual Studio 2010

2.replace json_object_get/put API with json_object_retain/release, as they operate the reference counter, and confused with array_list_get/put_idx.
3.replace array_list_get/put_idx API with array_list_get/insert to make them more clear to use.
This commit is contained in:
Haffon committed 2017-08-22 13:53:47 +08:00
1 parent af87944585
commit 3141c3976b
10 files changed
+41 -32

No files matched your search

+3
View File
@@ -52,6 +52,8 @@ set(JSON_C_HEADERS
./linkhash.h
./math_compat.h
./strdup_compat.h
./strerror_override.h
./strerror_override_private
./vasprintf_compat.h
./printbuf.h
./random_seed.h
@@ -66,6 +68,7 @@ set(JSON_C_SOURCES
./json_util.c
./linkhash.c
./printbuf.c
./strerror_override.c
./random_seed.c
)