diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-07-05 20:44:01 +0100 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-07-05 20:44:01 +0100 |
commit | d8dec9ad2c21a6bb08c49e6ae7e5b0f01867f982 (patch) | |
tree | 9d76788ecde56aad419ee94e815ffc36ecfc9f94 | |
parent | 4807e25bb7374fbf28e9b13c86695eb0f7d8332b (diff) | |
parent | b226ea0af17319d7df3490392a7636331ff6ab01 (diff) | |
download | libhubbub-d8dec9ad2c21a6bb08c49e6ae7e5b0f01867f982.tar.gz libhubbub-d8dec9ad2c21a6bb08c49e6ae7e5b0f01867f982.tar.bz2 |
Merge branch 'master' of git://git.netsurf-browser.org/libhubbub
-rw-r--r-- | test/tree-buf.c | 9 | ||||
-rw-r--r-- | test/tree.c | 10 | ||||
-rw-r--r-- | test/tree2.c | 9 |
3 files changed, 28 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 ***/ diff --git a/test/tree.c b/test/tree.c index 58c222c..85fd21a 100644 --- a/test/tree.c +++ b/test/tree.c @@ -54,6 +54,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 hubbub_tree_handler tree_handler = { create_comment, @@ -73,6 +74,7 @@ static hubbub_tree_handler tree_handler = { add_attributes, set_quirks_mode, NULL, + complete_script, NULL }; @@ -407,3 +409,11 @@ 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; +} + diff --git a/test/tree2.c b/test/tree2.c index a964951..15f75db 100644 --- a/test/tree2.c +++ b/test/tree2.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 }; @@ -814,6 +816,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 ***/ |