diff options
author | Serge A. Zaitsev <devnull@localhost> | 2012-02-01 14:02:12 +0200 |
---|---|---|
committer | Serge A. Zaitsev <devnull@localhost> | 2012-02-01 14:02:12 +0200 |
commit | 443be365f6bf8639a1b1e836e8e948d12af28100 (patch) | |
tree | f0f56cec27ca0e70a70ccc1aea3ab542d840d972 /jsmn.h | |
parent | bed0a7a3e647abb7204d73c69f9f44b37bdfc84f (diff) |
removed JSON string and token array from parser internals, because they must not be saved between parse() calls
Diffstat (limited to 'jsmn.h')
-rw-r--r-- | jsmn.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -44,12 +44,9 @@ typedef struct { * the string being parsed now and current position in that string */ typedef struct { - const char *js; unsigned int pos; - unsigned int num_tokens; int curtoken; int *cursize; - jsmntok_t *tokens; } jsmn_parser; /** |