Kick json_type_string out of struct json_object.

The default is now that string data is stored inline at the end of json_object, though to allow for json_object_set_string() to set a _longer_ string, we still need to allow for the possibility of a separate char * pointer.
All json types have been split out now, next step it cleanup.
This commit is contained in:
Eric Haszlakiewicz
2020-06-07 02:42:58 +00:00
parent 9ecb1222bd
commit 0fc9d91277
5 changed files with 169 additions and 116 deletions

View File

@@ -194,6 +194,9 @@
/* The number of bytes in type size_t */
#cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@
/* The number of bytes in type ssize_t */
#cmakedefine SIZEOF_SSIZE_T @SIZEOF_SSIZE_T@
/* Specifier for __thread */
#cmakedefine SPEC___THREAD @SPEC___THREAD@