~emersion/libjsonschema

ba31dbd50f6333e15544cf7266f51a93ed33517c — Simon Ser 1 year, 11 months ago d355a3f
decoder: document token lifetime in jsch_decode()
1 files changed, 2 insertions(+), 0 deletions(-)

M include/libjsonschema/encoding.h
M include/libjsonschema/encoding.h => include/libjsonschema/encoding.h +2 -0
@@ 83,6 83,8 @@ struct jsch_token {
 * The decoder checks and validates the JSON structure. In other words, the
 * decoder will never return invalid token sequences (such as "]" without an
 * opening "[").
 *
 * The token remains valid until the next jsch_decode() call.
 */
int jsch_decode(struct jsch_decoder *dec, struct jsch_token *token);