Adds json_pack / json_unpack variadic functions.
[jansson.git] / src / jansson_private.h
index e9102ba..2d2af62 100644 (file)
@@ -63,4 +63,11 @@ typedef struct {
 
 const object_key_t *jsonp_object_iter_fullkey(void *iter);
 
+#define JSON_ERROR_MSG_LENGTH 160
+
+struct json_error_t {
+  char msg[JSON_ERROR_MSG_LENGTH];
+  int line;
+};
+
 #endif