cmark

My personal build of CMark ✏️

Commit
a06430102225c2c261f1bbb510cb9720b02d3a84
Parent
fb68ad172015cce0e8fb6c5161297a3b79d35147
Author
John MacFarlane <jgm@berkeley.edu>
Date

cmark.h: Add argument to cmark_parser_new.

This was a bug; the function does take an argument. Oddly, gcc and clang did not complain.

Closes #12.

Diffstat

2 files changed, 3 insertions, 3 deletions

Status File Name N° Changes Insertions Deletions
Modified man/man3/cmark.3 4 2 2
Modified src/cmark.h 2 1 1
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
@@ -1,4 +1,4 @@
-.TH cmark 3 "February 16, 2015" "LOCAL" "Library Functions Manual"
+.TH cmark 3 "March 09, 2015" "LOCAL" "Library Functions Manual"
 .SH
 NAME
 .PP
@@ -413,7 +413,7 @@ cmark_parser_free(parser);
 .fi
 
 .PP
-\fIcmark_parser *\f[] \fBcmark_parser_new\f[](\fI\f[])
+\fIcmark_parser *\f[] \fBcmark_parser_new\f[](\fIint options\f[])
 
 .PP
 Creates a new parser object.
diff --git a/src/cmark.h b/src/cmark.h
@@ -431,7 +431,7 @@ cmark_consolidate_text_nodes(cmark_node *root);
 /** Creates a new parser object.
  */
 CMARK_EXPORT
-cmark_parser *cmark_parser_new();
+cmark_parser *cmark_parser_new(int options);
 
 /** Frees memory allocated for a parser object.
  */