summaryrefslogtreecommitdiff
path: root/man/man3
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-02-09 09:03:16 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-02-09 09:03:16 -0800
commitfdbdbf7ecc8597d2b6ae329ecbdabebaf0793fba (patch)
tree43b5e0669002c9292db7c8249bf9b55a7ada5082 /man/man3
parent71ef02503ebbd82497920ecc7d580c480865c47a (diff)
Add cmark_get_default_mem_allocator().
API change: This adds a new exported function in cmark.h. Closes #330.
Diffstat (limited to 'man/man3')
-rw-r--r--man/man3/cmark.38
1 files changed, 7 insertions, 1 deletions
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
index 65ab6d6..e460244 100644
--- a/man/man3/cmark.3
+++ b/man/man3/cmark.3
@@ -1,4 +1,4 @@
-.TH cmark 3 "March 19, 2019" "LOCAL" "Library Functions Manual"
+.TH cmark 3 "February 09, 2020" "LOCAL" "Library Functions Manual"
.SH
NAME
.PP
@@ -115,6 +115,12 @@ typedef struct cmark_mem {
Defines the memory allocation functions to be used by CMark when parsing
and allocating a document tree
+.PP
+\fIcmark_mem *\f[] \fBcmark_get_default_mem_allocator\f[](\fI\f[])
+
+.PP
+Returns a pointer to the default memory allocator.
+
.SS
Creating and Destroying Nodes