summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorBo Yang <struggleyb.nku@gmail.com>2009-03-19 14:00:05 +0000
committerBo Yang <struggleyb.nku@gmail.com>2009-03-19 14:00:05 +0000
commit279a99067e1167a8bb1388cd49e6ba23393f93f6 (patch)
tree01ff711d0a8f488d504b57d68e91f1ce5dd3e3e0 /include/dom
parent9b4a8edcc5f5bc84b65c1407446897b584acb87a (diff)
downloadlibdom-279a99067e1167a8bb1388cd49e6ba23393f93f6.tar.gz
libdom-279a99067e1167a8bb1388cd49e6ba23393f93f6.tar.bz2
Convert DOMFragment to use vtable structure.
svn path=/trunk/dom/; revision=6806
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/core/document.h6
1 files changed, 3 insertions, 3 deletions
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