summaryrefslogtreecommitdiff
path: root/include/dom/core/document.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom/core/document.h')
-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 193c084..1fe9752 100644
--- a/include/dom/core/document.h
+++ b/include/dom/core/document.h
@@ -9,6 +9,8 @@
#define dom_core_document_h_
#include <stdbool.h>
+#include <inttypes.h>
+#include <stddef.h>
#include <stdint.h>
#include <dom/core/exceptions.h>
@@ -29,6 +31,7 @@ struct dom_nodelist;
struct dom_processing_instruction;
struct dom_string;
struct dom_text;
+struct lwc_string_s;
typedef struct dom_document dom_document;
@@ -114,9 +117,6 @@ 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)
{