From 3479055b4a609032a1775871cc685fd7dd33ab32 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 3 Mar 2009 18:08:01 +0000 Subject: Rationalise dom_string (some consideration is required as to what happens wrt interning -- lwc_strings should probably be used) Purge charset handling -- a) documents are always converted to utf-8 b) use parserutils for utf-8 handling Fix Hubbub binding to compile. svn path=/trunk/dom/; revision=6682 --- include/dom/bootstrap/implpriv.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/dom/bootstrap') diff --git a/include/dom/bootstrap/implpriv.h b/include/dom/bootstrap/implpriv.h index 97806a8..c99a9d2 100644 --- a/include/dom/bootstrap/implpriv.h +++ b/include/dom/bootstrap/implpriv.h @@ -94,7 +94,6 @@ struct dom_implementation { * \param qname The qualified name of the document element * \param doctype The type of document to create * \param doc Pointer to location to receive result - * \param charset The charset to use for strings in the document * \param alloc Memory (de)allocation function * \param pw Pointer to client-specific private data * \return DOM_NO_ERR on success, @@ -130,7 +129,6 @@ struct dom_implementation { struct dom_string *qname, struct dom_document_type *doctype, struct dom_document **doc, - dom_string_charset charset, dom_alloc alloc, void *pw); /** @@ -251,8 +249,7 @@ dom_exception dom_register_source(struct dom_implementation_source *source, /* Create a DOM document */ dom_exception dom_document_create(struct dom_implementation *impl, - dom_string_charset charset, dom_alloc alloc, void *pw, - struct dom_document **doc); + dom_alloc alloc, void *pw, struct dom_document **doc); /* Set a document's buffer */ void dom_document_set_buffer(struct dom_document *doc, uint8_t *buffer, -- cgit v1.2.3