From 279a99067e1167a8bb1388cd49e6ba23393f93f6 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Thu, 19 Mar 2009 14:00:05 +0000 Subject: Convert DOMFragment to use vtable structure. svn path=/trunk/dom/; revision=6806 --- include/dom/core/document.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/dom/core/document.h b/include/dom/core/document.h index 08b46db..193c084 100644 --- a/include/dom/core/document.h +++ b/include/dom/core/document.h @@ -114,6 +114,9 @@ typedef struct dom_document_vtable { struct dom_string *qname, struct dom_node **result); } dom_document_vtable; +dom_exception dom_document_create_string(struct dom_document *doc, + const uint8_t *data, size_t len, struct dom_string **result); + static inline dom_exception dom_document_get_doctype(struct dom_document *doc, struct dom_document_type **result) { @@ -438,7 +441,4 @@ static inline dom_exception dom_document_rename_node(struct dom_document *doc, (dom_document *) (d), (struct dom_string *) (ns), \ (struct dom_string *) (q), (dom_node **) (r)) -dom_exception dom_document_create_string(struct dom_document *doc, - const uint8_t *data, size_t len, struct dom_string **result); - #endif -- cgit v1.2.3