Browse Source

Take 2 fixing the placement of json_tokener_error_memory in the enum. (json_tokener_error_size is an actual error, *not* a measure of the size of the enum!)

tags/json-c-0.18-20240915
Eric Hawicz 2 years ago
parent
commit
ad8b8afa7d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      json_tokener.h

+ 2
- 2
json_tokener.h View File

@@ -40,8 +40,8 @@ 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
json_tokener_error_size, /* A string longer than INT32_MAX was passed as input */
json_tokener_error_memory /* Failed to allocate memory */
};

/**


Loading…
Cancel
Save