summaryrefslogtreecommitdiff
path: root/test/select-nd.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/select-nd.c')
-rw-r--r--test/select-nd.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/select-nd.c b/test/select-nd.c
new file mode 100644
index 0000000..6469267
--- /dev/null
+++ b/test/select-nd.c
@@ -0,0 +1,14 @@
+
+#include "select-common.c"
+
+static css_error get_libcss_node_data(void *pw, void *n,
+ void **libcss_node_data)
+{
+ node *node = n;
+ UNUSED(pw);
+
+ /* Pass any node data back to libcss */
+ *libcss_node_data = node->libcss_node_data;
+
+ return CSS_OK;
+}