summaryrefslogtreecommitdiff
path: root/jsmn.h
diff options
context:
space:
mode:
Diffstat (limited to 'jsmn.h')
-rw-r--r--jsmn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/jsmn.h b/jsmn.h
index a45569632..8b21cab4d 100644
--- a/jsmn.h
+++ b/jsmn.h
@@ -32,6 +32,7 @@ typedef struct {
jsmntype_t type;
int start;
int end;
+ int size;
} jsmntok_t;
/**
@@ -43,6 +44,7 @@ typedef struct {
unsigned int pos;
unsigned int num_tokens;
int curtoken;
+ int *cursize;
jsmntok_t *tokens;
} jsmn_parser;