summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2015-01-19 15:06:14 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2015-01-20 18:12:28 +0100
commit040def592d73c7babf4634a0990e51de1a68d635 (patch)
tree6f6670ab2871c2ec1ba6ac4244a81790b18ae6ae /src/node.h
parent3f4d605546fc82a3cdce8056790f1bb140a62903 (diff)
Add user data field for nodes
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index c0c43d3..74eddd4 100644
--- a/src/node.h
+++ b/src/node.h
@@ -49,6 +49,8 @@ struct cmark_node {
struct cmark_node *first_child;
struct cmark_node *last_child;
+ void *user_data;
+
int start_line;
int start_column;
int end_line;