json: macro for setting formatted false value

pull/5110/head
Jeff Lucovsky 5 years ago committed by Victor Julien
parent ae50d1a225
commit cc99f95ecd

@ -23,5 +23,6 @@
#define JB_SET_STRING(jb, key, val) jb_set_formatted((jb), "\"" key "\":\"" val "\"")
#define JB_SET_TRUE(jb, key) jb_set_formatted((jb), "\"" key "\":true")
#define JB_SET_FALSE(jb, key) jb_set_formatted((jb), "\"" key "\":false")
#endif /* !__RUST_H__ */

Loading…
Cancel
Save