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

Function json_add_str_fmt

common/json_stream.c:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void json_add_str_fmt(struct json_stream *js,
163 const char *fieldname,
164 const char *fmt, ...)
165{
166 va_list ap;
167
168 va_start(ap, fmt);
169 json_out_addv(js->jout, fieldname, true, fmt, ap);
170 va_end(ap);
171}
172
173void json_add_primitive(struct json_stream *js,
174 const char *fieldname,

Callers 4

json_add_stringnFunction · 0.70
json_add_outpointFunction · 0.70
json_add_runeFunction · 0.50

Calls 1

json_out_addvFunction · 0.85

Tested by

no test coverage detected