MCPcopy Create free account
hub / github.com/ElementsProject/lightning / toks_reset

Function toks_reset

common/json_parse_simple.c:527–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525-----------------------------------------------------------------------------*/
526
527void toks_reset(jsmntok_t *toks)
528{
529 assert(tal_count(toks) >= 1);
530 toks[0].type = JSMN_UNDEFINED;
531}
532
533jsmntok_t *toks_alloc(const tal_t *ctx)
534{

Callers 4

test_json_streamFunction · 0.85
toks_allocFunction · 0.85
jsonrpc_io_parse_doneFunction · 0.85
test_json_tok_sizeFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_json_streamFunction · 0.68
test_json_tok_sizeFunction · 0.68