implemented the builtin primitive function sprintf

This commit is contained in:
2018-03-05 03:35:44 +00:00
parent d4d9491f3c
commit e3b5d33811
5 changed files with 178 additions and 4 deletions

View File

@ -1082,6 +1082,16 @@ struct hcl_t
} inttostr;
/* == END BIGINT CONVERSION == */
struct
{
struct
{
hcl_ooch_t* ptr;
hcl_oow_t capa;
hcl_oow_t len;
} xbuf; /* buffer to support sprintf */
} sprintf;
hcl_sbuf_t sbuf[64];
struct