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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/document.h b/src/core/document.h
index 6561035..367b1ec 100644
--- a/src/core/document.h
+++ b/src/core/document.h
@@ -19,6 +19,9 @@ struct dom_node;
struct dom_nodelist;
struct dom_string;
+/* Destroy a document */
+void dom_document_destroy(struct dom_document *doc);
+
/* Get base of document buffer */
const uint8_t *dom_document_get_base(struct dom_document *doc);