|
|
|
@ -81,7 +81,9 @@ int jsonp_dtostr(char *buffer, size_t size, double value);
|
|
|
|
|
|
|
|
|
|
/* Wrappers for custom memory functions */ |
|
|
|
|
void* jsonp_malloc(size_t size); |
|
|
|
|
void jsonp_free(void *ptr); |
|
|
|
|
void _jsonp_free(void **ptr); |
|
|
|
|
#define jsonp_free(ptr) _jsonp_free((void *)&(ptr)) |
|
|
|
|
|
|
|
|
|
char *jsonp_strndup(const char *str, size_t length); |
|
|
|
|
char *jsonp_strdup(const char *str); |
|
|
|
|
char *jsonp_eolstrdup(const char *str); |
|
|
|
|