summaryrefslogtreecommitdiff
path: root/man
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 /man
parent3f4d605546fc82a3cdce8056790f1bb140a62903 (diff)
Add user data field for nodes
Diffstat (limited to 'man')
-rw-r--r--man/man3/cmark.315
1 files changed, 14 insertions, 1 deletions
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
index 5df89c3..1bffc5c 100644
--- a/man/man3/cmark.3
+++ b/man/man3/cmark.3
@@ -1,4 +1,4 @@
-.TH cmark 3 "January 11, 2015" "LOCAL" "Library Functions Manual"
+.TH cmark 3 "January 19, 2015" "LOCAL" "Library Functions Manual"
.SH
NAME
.PP
@@ -183,6 +183,19 @@ descendant of the root node or the root node itself.
Accessors
.PP
+\fIvoid*\f[] \fBcmark_node_get_user_data\f[](\fIcmark_node *node\f[])
+
+.PP
+Returns the user data of \f[I]node\f[]\&.
+
+.PP
+\fIint\f[] \fBcmark_node_set_user_data\f[](\fIcmark_node *node\f[], \fIvoid *user_data\f[])
+
+.PP
+Sets arbitrary user data for \f[I]node\f[]\&. Returns 1 on success,
+0 on failure.
+
+.PP
\fIcmark_node_type\f[] \fBcmark_node_get_type\f[](\fIcmark_node *node\f[])
.PP