aboutsummaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-20 17:47:07 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-20 17:47:07 -0800
commit84d48648f0a203befd666aa0c7dad32fa1a22710 (patch)
tree63dd5f72e5ca537df9e5841b51b91ed93ed82b5a /src/node.h
parent3f4d605546fc82a3cdce8056790f1bb140a62903 (diff)
parent4b5e43c4fa9e18b7a281063a98fbef0def5a1cbe (diff)
Merge pull request #289 from nwellnhof/user_data
Add field for user data to node
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;