Allow forward declaring json_error_t values

This commit is contained in:
Petri Lehtinen 2017-04-13 13:39:43 +03:00
parent f7a70de84a
commit fbf720f2c5

View File

@ -131,7 +131,7 @@ void json_decrefp(json_t **json)
#define JSON_ERROR_TEXT_LENGTH 160 #define JSON_ERROR_TEXT_LENGTH 160
#define JSON_ERROR_SOURCE_LENGTH 80 #define JSON_ERROR_SOURCE_LENGTH 80
typedef struct { typedef struct json_error_t {
int line; int line;
int column; int column;
int position; int position;