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

Function json_add_s32

common/json_stream.c:304–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304void json_add_s32(struct json_stream *result, const char *fieldname,
305 int32_t value)
306{
307 json_add_primitive_fmt(result, fieldname, "%d", value);
308}
309
310void json_add_bool(struct json_stream *result, const char *fieldname, bool value)
311{

Calls 1

json_add_primitive_fmtFunction · 0.85

Tested by

no test coverage detected