summaryrefslogtreecommitdiff
path: root/src/input/inputstream.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-06-24 10:31:23 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-06-24 10:31:23 +0000
commitff835de85e45a77c810d0f8dc7916ff0be677545 (patch)
treece3a645348b52a492ec9d171b8f6f623a08c2530 /src/input/inputstream.c
parent86214cfb1e17624c3b0851a8a3cd6909c2623ce9 (diff)
downloadlibhubbub-ff835de85e45a77c810d0f8dc7916ff0be677545.tar.gz
libhubbub-ff835de85e45a77c810d0f8dc7916ff0be677545.tar.bz2
Add UTF-16 input stream.
This appears to work correctly -- could probably do with more testing. svn path=/trunk/hubbub/; revision=3362
Diffstat (limited to 'src/input/inputstream.c')
-rw-r--r--src/input/inputstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/inputstream.c b/src/input/inputstream.c
index f82d279..744aa23 100644
--- a/src/input/inputstream.c
+++ b/src/input/inputstream.c
@@ -22,9 +22,11 @@ struct hubbub_inputstream_bm_handler {
};
extern hubbub_streamhandler utf8stream;
+extern hubbub_streamhandler utf16stream;
static hubbub_streamhandler *handler_table[] = {
&utf8stream,
+ &utf16stream,
NULL
};