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

Function json_add_u32

common/json_stream.c:271–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void json_add_u32(struct json_stream *result, const char *fieldname,
272 uint32_t value)
273{
274 json_add_primitive_fmt(result, fieldname, "%u", value);
275}
276
277void json_add_s32(struct json_stream *result, const char *fieldname,
278 int32_t value)

Callers

nothing calls this directly

Calls 1

json_add_primitive_fmtFunction · 0.85

Tested by

no test coverage detected