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

@@ -205,6 +205,7 @@ check_type_size(int64_t SIZEOF_INT64_T)
check_type_size(long SIZEOF_LONG)
check_type_size("long long" SIZEOF_LONG_LONG)
check_type_size("size_t" SIZEOF_SIZE_T)
check_type_size("ssize_t" SIZEOF_SSIZE_T)
check_c_source_compiles(
[=[