Fix #1521 - add mg_tou64()

This commit is contained in:
Sergey Lyubka committed 2022-04-12 10:20:43 +01:00
1 parent db941e2627
commit 66376885e9
6 files changed
+34

No files matched your search

+1
View File
@@ -2442,6 +2442,7 @@ mg_snprintf(buf, sizeof(buf), "%%-%3s", "a"); // %- a
```c
int64_t mg_to64(struct mg_str str);
uint64_t mg_tou64(struct mg_str str);
```
Parse 64-bit integer value held by string `s`.