Improve Lua and JSON serialization

This commit is contained in:
Justine Tunney 2022-07-12 23:31:06 -07:00
parent 3027d67037
commit e3cd476a9b
20 changed files with 1041 additions and 476 deletions

View file

@ -38,7 +38,7 @@ static inline int PickGoodWidth(unsigned x, char z) {
* Converts unsigned 64-bit integer to hex string.
*
* @param p needs at least 19 bytes
* @param z is 0 for DIGITS, 1 for 0bDIGITS, 2 for 0bDIGITS if 0
* @param z is 0 for DIGITS, 1 for 0xDIGITS, 2 for 0xDIGITS if 0
* @return pointer to nul byte
*/
char *FormatHex64(char p[hasatleast 19], uint64_t x, char z) {