projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add custom memory allocation
[jansson.git]
/
src
/
jansson_private.h
diff --git
a/src/jansson_private.h
b/src/jansson_private.h
index
8bb8057
..
66caad7
100644
(file)
--- a/
src/jansson_private.h
+++ b/
src/jansson_private.h
@@
-73,4
+73,9
@@
void jsonp_error_set(json_error_t *error, int line, int column,
void jsonp_error_vset(json_error_t *error, int line, int column,
const char *msg, va_list ap);
+/* Wrappers for custom memory functions */
+void* jsonp_malloc(size_t size);
+void jsonp_free(void *ptr);
+char *jsonp_strdup(const char *str);
+
#endif