From 443be365f6bf8639a1b1e836e8e948d12af28100 Mon Sep 17 00:00:00 2001 From: "Serge A. Zaitsev" Date: Wed, 1 Feb 2012 14:02:12 +0200 Subject: removed JSON string and token array from parser internals, because they must not be saved between parse() calls --- jsmn.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'jsmn.h') diff --git a/jsmn.h b/jsmn.h index 57112fa8c..3d1f9ec20 100644 --- a/jsmn.h +++ b/jsmn.h @@ -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; /** -- cgit v1.2.3