projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adds json_pack / json_unpack variadic functions.
[jansson.git]
/
src
/
load.c
diff --git
a/src/load.c
b/src/load.c
index
a34fd0c
..
54bfab8
100644
(file)
--- a/
src/load.c
+++ b/
src/load.c
@@
-60,13
+60,6
@@
typedef struct {
/*** error reporting ***/
-#define JSON_ERROR_MSG_LENGTH 160
-
-struct json_error_t {
- char msg[JSON_ERROR_MSG_LENGTH];
- int line;
-};
-
const char *json_error_msg(const json_error_t *error)
{
return error ? error->msg : NULL;