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

Function guide_must_be

common/json_parse.c:261–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261static void guide_must_be(const char **guide, char c)
262{
263 char actual = guide_consume_one(guide);
264 assert(actual == c);
265}
266
267/* Recursion: return NULL on success, errmsg on fail */
268static const char *parse_obj(const char *buffer,

Callers 5

parse_guideFunction · 0.85
parse_fieldFunction · 0.85
parse_objFunction · 0.85
parse_arrelemFunction · 0.85
parse_arrFunction · 0.85

Calls 1

guide_consume_oneFunction · 0.85

Tested by

no test coverage detected