summaryrefslogtreecommitdiff
path: root/test/tree-buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tree-buf.c')
-rw-r--r--test/tree-buf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/tree-buf.c b/test/tree-buf.c
index d1eb12f..9814932 100644
--- a/test/tree-buf.c
+++ b/test/tree-buf.c
@@ -93,6 +93,7 @@ static hubbub_error form_associate(void *ctx, void *form, void *node);
static hubbub_error add_attributes(void *ctx, void *node,
const hubbub_attribute *attributes, uint32_t n_attributes);
static hubbub_error set_quirks_mode(void *ctx, hubbub_quirks_mode mode);
+static hubbub_error complete_script(void *ctx, void *script);
static void delete_node(node_t *node);
static void delete_attr(attr_t *attr);
@@ -115,6 +116,7 @@ static hubbub_tree_handler tree_handler = {
add_attributes,
set_quirks_mode,
NULL,
+ complete_script,
NULL
};
@@ -735,6 +737,13 @@ hubbub_error set_quirks_mode(void *ctx, hubbub_quirks_mode mode)
return HUBBUB_OK;
}
+hubbub_error complete_script(void *ctx, void *script)
+{
+ UNUSED(ctx);
+ UNUSED(script);
+
+ return HUBBUB_OK;
+}
/*** Serialising bits ***/