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

Function parse_float

ccan/ccan/graphql/graphql.c:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122RET parse_float(PARAMS) {
123 struct graphql_token *tok = list_top(tokens, struct graphql_token, node);
124 if (!tok || tok->token_type != 'f') {
125 *err = "float expected"; return NULL;
126 }
127 CONSUME_ONE;
128 return tok;
129}
130
131RET parse_string(PARAMS) {
132 struct graphql_token *tok = list_top(tokens, struct graphql_token, node);

Callers 1

parse_float_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected