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

Function json_add_s32

common/json_stream.c:277–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void json_add_s32(struct json_stream *result, const char *fieldname,
278 int32_t value)
279{
280 json_add_primitive_fmt(result, fieldname, "%d", value);
281}
282
283void json_add_stringn(struct json_stream *result, const char *fieldname,
284 const char *value TAKES, size_t value_len)

Callers 2

Calls 1

json_add_primitive_fmtFunction · 0.85

Tested by

no test coverage detected