From 1b95fec601a3d006ba6b99e1dea3f61c3c8318fc Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 13 Dec 2013 20:16:52 +0000 Subject: Various changes which modify API and ABI: - Remove client allocation function. - Change node_classes callback not to yield array ownership to libcss. - Node bloom filters now built by, during selection libcss. - Added selection callbacks to get and set data on document nodes. Test suite, example, and documentation updated to match. --- test/select-no-nd.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/select-no-nd.c (limited to 'test/select-no-nd.c') diff --git a/test/select-no-nd.c b/test/select-no-nd.c new file mode 100644 index 0000000..8eb3735 --- /dev/null +++ b/test/select-no-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) +{ + UNUSED(pw); + UNUSED(n); + + /* Test case were node data is deleted, by not passing any node data */ + *libcss_node_data = NULL; + + return CSS_OK; +} -- cgit v1.2.3