From 3dad6941daf87bcdb5c750225ba655e414c4045b Mon Sep 17 00:00:00 2001 From: Eric Hawicz Date: Sat, 12 Aug 2023 13:54:50 -0400 Subject: [PATCH] Move the json_tokener_error_memory entry to the end of enum json_tokener_error to restore binary compatibility with 0.16 --- json_tokener.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_tokener.h b/json_tokener.h index c1502e8..77abc5c 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 };