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:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user