diff options
author | Bo Yang <struggleyb.nku@gmail.com> | 2009-03-19 14:00:05 +0000 |
---|---|---|
committer | Bo Yang <struggleyb.nku@gmail.com> | 2009-03-19 14:00:05 +0000 |
commit | 366e21e1dc75ab4f334091582b05aa02a85574d6 (patch) | |
tree | 01ff711d0a8f488d504b57d68e91f1ce5dd3e3e0 /include/dom/core | |
parent | 2d2b525d83419bffbd7dc32c5a046f6eb4d2943a (diff) | |
download | libdom-366e21e1dc75ab4f334091582b05aa02a85574d6.tar.gz libdom-366e21e1dc75ab4f334091582b05aa02a85574d6.tar.bz2 |
Convert DOMFragment to use vtable structure.
svn path=/trunk/dom/; revision=6806
Diffstat (limited to 'include/dom/core')
-rw-r--r-- | include/dom/core/document.h | 6 |
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 |