summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2016-06-06 11:45:47 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-06 15:39:06 -0700
commitfc1299a51ede05b3a76ae2f5a3ce882741a43a8b (patch)
treed8c8de49a2cb7c3bab832556e25f2648a7c6e8d0 /src/cmark.h
parent27376c2150df53d23995c0360a30152f68af5e7c (diff)
mem: Add a `realloc` pointer to the memory handler
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 293919d..e7d39ec 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -97,6 +97,7 @@ typedef struct cmark_iter cmark_iter;
*/
typedef struct cmark_mem {
void *(*calloc)(size_t, size_t);
+ void *(*realloc)(void *, size_t);
void (*free)(void *);
} cmark_mem;