modify partial functions and testcase, in order to support automatic conversion for int64/uint64

This commit is contained in:
dota17
2020-02-27 15:01:06 +08:00
parent c816de212b
commit 9532f94fa4
7 changed files with 169 additions and 42 deletions

View File

@@ -24,6 +24,12 @@ extern "C" {
typedef void (json_object_private_delete_fn)(struct json_object *o);
/* json object int type, support extension*/
typedef enum json_object_int_type {
json_object_int_type_int64,
json_object_int_type_uint64
}json_object_int_type;
struct json_object
{
enum json_type o_type;