summaryrefslogtreecommitdiff
path: root/src/core/document.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-28 23:03:56 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-28 23:03:56 +0000
commit07be77efe90ed1da2ea317c2ac49326b60d2d1c4 (patch)
treeb6b9a2daf9e28fdffe8a05c1e0455f44a6412ee4 /src/core/document.h
parentddbf47a33aa4fba4ce23e751db78acf59895fcc3 (diff)
downloadlibdom-07be77efe90ed1da2ea317c2ac49326b60d2d1c4.tar.gz
libdom-07be77efe90ed1da2ea317c2ac49326b60d2d1c4.tar.bz2
Implement Document destructor.
Fix handling of nodes within a document (they no longer explicitly reference the document) svn path=/trunk/dom/; revision=3468
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);