path: root/bindings/hubbub/parser.h
diff options
authorJohn Mark Bell <>2007-11-04 03:40:09 +0000
committerJohn Mark Bell <>2007-11-04 03:40:09 +0000
commitc34dc685f70193728ead525f59d56cdbf116f574 (patch)
tree3e4223631b7ec7034980cc09f50fb72a3239ee4a /bindings/hubbub/parser.h
parent358bca1162d0112c8564ec3956a44f1d5adf574e (diff)
Make TestObject support both HTML and XML documents and auto-detect which parser to use.
Make binding testcase attempt to load an HTML document. Hubbub parser binding constructor takes Aliases file path as a parameter. Hubbub parser binding's token handler now spews debug at stdout. svn path=/trunk/dom/; revision=3648
Diffstat (limited to 'bindings/hubbub/parser.h')
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/hubbub/parser.h b/bindings/hubbub/parser.h
index 65da1ea..f4c2ac4 100644
--- a/bindings/hubbub/parser.h
+++ b/bindings/hubbub/parser.h
@@ -20,9 +20,9 @@ struct dom_document;
typedef struct dom_hubbub_parser dom_hubbub_parser;
/* Create a Hubbub parser instance */
-dom_hubbub_parser *dom_hubbub_parser_create(const char *enc,
- const char *int_enc, dom_alloc alloc, void *pw,
- dom_msg msg, void *mctx);
+dom_hubbub_parser *dom_hubbub_parser_create(const char *aliases,
+ const char *enc, const char *int_enc,
+ dom_alloc alloc, void *pw, dom_msg msg, void *mctx);
/* Destroy a Hubbub parser instance */
void dom_hubbub_parser_destroy(dom_hubbub_parser *parser);