From: Eric Hawicz Date: Sat, 12 Aug 2023 17:54:50 +0000 (-0400) Subject: Move the json_tokener_error_memory entry to the end of enum json_tokener_error to... X-Git-Tag: json-c-0.17-20230812~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dad6941daf87bcdb5c750225ba655e414c4045b;p=thirdparty%2Fjson-c.git Move the json_tokener_error_memory entry to the end of enum json_tokener_error to restore binary compatibility with 0.16 --- diff --git a/json_tokener.h b/json_tokener.h index c1502e82..77abc5c1 100644 --- a/json_tokener.h +++ b/json_tokener.h @@ -28,7 +28,6 @@ enum json_tokener_error json_tokener_success, json_tokener_continue, json_tokener_error_depth, - json_tokener_error_memory, json_tokener_error_parse_eof, json_tokener_error_parse_unexpected, json_tokener_error_parse_null, @@ -41,6 +40,7 @@ enum json_tokener_error json_tokener_error_parse_string, json_tokener_error_parse_comment, json_tokener_error_parse_utf8_string, + json_tokener_error_memory, json_tokener_error_size };