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

Function json_add_primitive_fmt

common/json_stream.c:151–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void json_add_primitive_fmt(struct json_stream *js,
152 const char *fieldname,
153 const char *fmt, ...)
154{
155 va_list ap;
156
157 va_start(ap, fmt);
158 json_out_addv(js->jout, fieldname, false, fmt, ap);
159 va_end(ap);
160}
161
162void json_add_str_fmt(struct json_stream *js,
163 const char *fieldname,

Callers 10

json_add_primitiveFunction · 0.85
json_add_numFunction · 0.85
json_add_u64Function · 0.85
json_add_s64Function · 0.85
json_add_u32Function · 0.85
json_add_s32Function · 0.85
json_add_timeabsFunction · 0.85
json_add_jsonrpc_errcodeFunction · 0.85
convert_currencyFunction · 0.85
jsonrpc_stream_failFunction · 0.85

Calls 1

json_out_addvFunction · 0.85

Tested by

no test coverage detected