summaryrefslogtreecommitdiff
path: root/man/man3
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-05 10:05:27 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-05 10:05:27 -0800
commite176f939862d4846859ce3ad3a003b38d98a6424 (patch)
tree1c396bb59a49625b14e8513f616539a29d6caacb /man/man3
parent6baeaf39441895c0374974d96da84f2e3979cfb2 (diff)
Changed CMARK_NODE_NONE from -1 to 0.
This is more consistent with CMARK_LIST_NONE, etc.
Diffstat (limited to 'man/man3')
-rw-r--r--man/man3/cmark.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
index 0c1d054..efce745 100644
--- a/man/man3/cmark.3
+++ b/man/man3/cmark.3
@@ -30,6 +30,9 @@ UTF-8-encoded string.
\f[C]
.RS 0n
typedef enum {
+ /* Error status */
+ CMARK_NODE_NONE,
+
/* Block */
CMARK_NODE_DOCUMENT,
CMARK_NODE_BLOCK_QUOTE,
@@ -58,8 +61,6 @@ 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[]