summaryrefslogtreecommitdiff
path: root/src/core/doc_fragment.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-12-21 22:18:10 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-12-21 22:18:10 +0000
commit99a601a856a2bd6c9974db589b0ef3f54e04aeca (patch)
treee48ba69628c5ba793533094e308c1fce9acb21aa /src/core/doc_fragment.h
parent05a3cf37e14017a3593ed9e17e4a83b003ef29d6 (diff)
downloadlibdom-99a601a856a2bd6c9974db589b0ef3f54e04aeca.tar.gz
libdom-99a601a856a2bd6c9974db589b0ef3f54e04aeca.tar.bz2
Merge branches/jmb/dom-alloc-purge back to trunk
svn path=/trunk/libdom/; revision=13316
Diffstat (limited to 'src/core/doc_fragment.h')
-rw-r--r--src/core/doc_fragment.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/core/doc_fragment.h b/src/core/doc_fragment.h
index b2c3e71..944516f 100644
--- a/src/core/doc_fragment.h
+++ b/src/core/doc_fragment.h
@@ -9,32 +9,24 @@
#define dom_internal_core_documentfragment_h_
#include <dom/core/exceptions.h>
+#include <dom/core/doc_fragment.h>
-struct dom_document_fragment;
-struct dom_document;
-struct lwc_string_s;
+dom_exception _dom_document_fragment_create(dom_document *doc,
+ dom_string *name, dom_string *value,
+ dom_document_fragment **result);
-dom_exception _dom_document_fragment_create(struct dom_document *doc,
- struct lwc_string_s *name, dom_string *value,
- struct dom_document_fragment **result);
-
-void _dom_document_fragment_destroy(struct dom_document *doc,
- struct dom_document_fragment *frag);
+void _dom_document_fragment_destroy(dom_document_fragment *frag);
#define _dom_document_fragment_initialise _dom_node_initialise
#define _dom_document_fragment_finalise _dom_node_finalise
/* Following comes the protected vtable */
-void _dom_df_destroy(struct dom_node_internal *node);
-dom_exception _dom_df_alloc(struct dom_document *doc,
- struct dom_node_internal *n, struct dom_node_internal **ret);
-dom_exception _dom_df_copy(struct dom_node_internal *new,
- struct dom_node_internal *old);
+void _dom_df_destroy(dom_node_internal *node);
+dom_exception _dom_df_copy(dom_node_internal *old, dom_node_internal **copy);
#define DOM_DF_PROTECT_VTABLE \
_dom_df_destroy, \
- _dom_df_alloc, \
_dom_df_copy
#endif