From fdbdbf7ecc8597d2b6ae329ecbdabebaf0793fba Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 9 Feb 2020 09:03:16 -0800 Subject: Add cmark_get_default_mem_allocator(). API change: This adds a new exported function in cmark.h. Closes #330. --- man/man3/cmark.3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'man') 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 -- cgit v1.2.3