cmark

My personal build of CMark ✏️

Commit
b95def0719d823eb6bc11780ce8729d89c3ebf69
Parent
37b7d02f01d840b3519cb75a89672740850029d5
Author
John MacFarlane <jgm@berkeley.edu>
Date

Merge pull request #89 from Eljay/fix-example

Correct string length in cmark_parse_document example.

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 "August 07, 2015" "LOCAL" "Library Functions Manual"
+.TH cmark 3 "October 28, 2015" "LOCAL" "Library Functions Manual"
 .SH
 NAME
 .PP
@@ -402,7 +402,7 @@ Simple interface:
 .IP
 .nf
 \f[C]
-cmark_node *document = cmark_parse_document("Hello *world*", 12,
+cmark_node *document = cmark_parse_document("Hello *world*", 13,
                                             CMARK_OPT_DEFAULT);
 \f[]
 .fi
diff --git a/src/cmark.h b/src/cmark.h
@@ -368,7 +368,7 @@ CMARK_EXPORT void cmark_consolidate_text_nodes(cmark_node *root);
  *
  * Simple interface:
  *
- *     cmark_node *document = cmark_parse_document("Hello *world*", 12,
+ *     cmark_node *document = cmark_parse_document("Hello *world*", 13,
  *                                                 CMARK_OPT_DEFAULT);
  *
  * Streaming interface: