mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-02 13:20:51 +00:00
Remove dangerous mg_pfn_realloc(). Add %q printf specifier
This commit is contained in:
1 parent
24cb9467c0
commit
2ba3630de9
8 files changed
+65
-96
No files matched your search
@@ -5,8 +5,7 @@
|
||||
|
||||
typedef void (*mg_pfn_t)(char, void *); // Custom putchar
|
||||
typedef size_t (*mg_pm_t)(mg_pfn_t, void *, va_list *); // %M printer
|
||||
void mg_pfn_realloc(char ch, void *param); // Print to malloced str
|
||||
void mg_pfn_iobuf(char ch, void *param); // Print to iobuf
|
||||
void mg_pfn_iobuf(char ch, void *param); // iobuf printer
|
||||
|
||||
size_t mg_lld(char *buf, int64_t val, bool is_signed, bool is_hex);
|
||||
double mg_atod(const char *buf, int len, int *numlen);
|
||||
|
||||
Reference in new issue
Block a user