summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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