Browse Source

update shortstring and arraylist parameters

pull/538/head
dota17 5 years ago
parent
commit
0be5ed6bed
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      arraylist.h
  2. +1
    -1
      json_object_private.h

+ 1
- 1
arraylist.h View File

@@ -22,7 +22,7 @@
extern "C" { extern "C" {
#endif #endif


#define ARRAY_LIST_DEFAULT_SIZE 32
#define ARRAY_LIST_DEFAULT_SIZE 16


typedef void (array_list_free_fn) (void *data); typedef void (array_list_free_fn) (void *data);




+ 1
- 1
json_object_private.h View File

@@ -20,7 +20,7 @@
extern "C" { extern "C" {
#endif #endif


#define LEN_DIRECT_STRING_DATA 32 /**< how many bytes are directly stored in json_object for strings? */
#define LEN_DIRECT_STRING_DATA 16 /**< how many bytes are directly stored in json_object for strings? */


typedef void (json_object_private_delete_fn)(struct json_object *o); typedef void (json_object_private_delete_fn)(struct json_object *o);




Loading…
Cancel
Save