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

Function guide_must_be

common/json_parse.c:246–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246static void guide_must_be(const char **guide, char c)
247{
248 char actual = guide_consume_one(guide);
249 assert(actual == c);
250}
251
252static bool guide_maybe_optional(const char **guide)
253{

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