summaryrefslogtreecommitdiff
path: root/man/man3
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-05 10:02:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-05 10:02:04 -0800
commit6baeaf39441895c0374974d96da84f2e3979cfb2 (patch)
treee0e0b17ff07344b17cd395b0cb9d89b4530f11c8 /man/man3
parent1df1fd63e162314a62b512b29e27a30c67498028 (diff)
Added CMARK_NODE_TYPE_NONE.
This is the return value of cmark_get_node_type when the argument is a null pointer. Avoids segfault.
Diffstat (limited to 'man/man3')
-rw-r--r--man/man3/cmark.34
1 files changed, 3 insertions, 1 deletions
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
index 4c0581f..0c1d054 100644
--- a/man/man3/cmark.3
+++ b/man/man3/cmark.3
@@ -1,4 +1,4 @@
-.TH cmark 3 "November 30, 2014" "LOCAL" "Library Functions Manual"
+.TH cmark 3 "December 05, 2014" "LOCAL" "Library Functions Manual"
.SH NAME
.B cmark
@@ -58,6 +58,8 @@ typedef enum {
CMARK_NODE_FIRST_INLINE = CMARK_NODE_TEXT,
CMARK_NODE_LAST_INLINE = CMARK_NODE_IMAGE,
+
+ CMARK_NODE_NONE = -1
} cmark_node_type;
.RE
\f[]