summaryrefslogtreecommitdiff
path: root/src/core/document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/document.h')
-rw-r--r--src/core/document.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/document.h b/src/core/document.h
index 399b2c8..7c18fe9 100644
--- a/src/core/document.h
+++ b/src/core/document.h
@@ -9,11 +9,11 @@
#define dom_internal_document_h_
#include <inttypes.h>
+#include <stddef.h>
-struct dom_ctx;
struct dom_document;
-const uint8_t *dom_document_get_base(struct dom_ctx *ctx,
- struct dom_document *doc);
+const uint8_t *dom_document_get_base(struct dom_document *doc);
+void *dom_document_alloc(struct dom_document *doc, void *ptr, size_t size);
#endif