diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-05-03 00:23:16 +0930 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-05-03 00:23:16 +0930 |
commit | b07c4162f4e1c5056e73500147a17f4e63abaaf4 (patch) | |
tree | 8af0d3575c205efbe4582eb5aa18e8075c535110 /lua_cjson.c | |
parent | f89fb30058a7d2d6a896ace242fc612bfe4e2c34 (diff) | |
download | lua-cjson-b07c4162f4e1c5056e73500147a17f4e63abaaf4.tar.gz lua-cjson-b07c4162f4e1c5056e73500147a17f4e63abaaf4.tar.bz2 lua-cjson-b07c4162f4e1c5056e73500147a17f4e63abaaf4.zip |
Add strbuf_append_number()
The separate strbuf_append_number() function avoids a potential double
call to the slow vsnprintf() function required by strbuf_append_fmt().
Also inline strbuf_append_mem() since it is very simple and will
be used often.
Diffstat (limited to 'lua_cjson.c')
0 files changed, 0 insertions, 0 deletions