diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-28 23:03:56 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-28 23:03:56 +0000 |
commit | be76092abf32f4c586717452fe0d2357220ea29d (patch) | |
tree | b6b9a2daf9e28fdffe8a05c1e0455f44a6412ee4 /src/core/document.h | |
parent | bb9a9029b6ec4f26ee31f4879cde52d58dcb49c0 (diff) | |
download | libdom-be76092abf32f4c586717452fe0d2357220ea29d.tar.gz libdom-be76092abf32f4c586717452fe0d2357220ea29d.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.h | 3 |
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); |