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

Function parse_int

ccan/ccan/graphql/graphql.c:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113RET parse_int(PARAMS) {
114 struct graphql_token *tok = list_top(tokens, struct graphql_token, node);
115 if (!tok || tok->token_type != 'i') {
116 *err = "integer expected"; return NULL;
117 }
118 CONSUME_ONE;
119 return tok;
120}
121
122RET parse_float(PARAMS) {
123 struct graphql_token *tok = list_top(tokens, struct graphql_token, node);

Callers 1

parse_int_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected