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

Function pull_char

ccan/ccan/rune/coding.c:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177static bool pull_char(const char **data, size_t *len, char *c)
178{
179 if (!peek_char(*data, *len, c)) {
180 pull_invalid(data, len);
181 return false;
182 }
183 drop_char(data, len);
184 return true;
185}
186
187bool rune_condition_is_valid(enum rune_condition cond)
188{

Callers 1

rune_altern_decodeFunction · 0.85

Calls 3

peek_charFunction · 0.85
pull_invalidFunction · 0.85
drop_charFunction · 0.85

Tested by

no test coverage detected