mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Improve Lua and JSON serialization
This commit is contained in:
parent
3027d67037
commit
e3cd476a9b
20 changed files with 1041 additions and 476 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue