summaryrefslogtreecommitdiff
path: root/src/html/html_body_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 15:56:45 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 15:56:45 +0000
commit1eb6cc58d7b84a78b9e49abc541ce0495184db59 (patch)
tree72469ffd5ea7ca86122090be7b960bd09a19cc07 /src/html/html_body_element.h
parent3542d8d5b0693509a9e2164358326c78c9a5faaa (diff)
downloadlibdom-1eb6cc58d7b84a78b9e49abc541ce0495184db59.tar.gz
libdom-1eb6cc58d7b84a78b9e49abc541ce0495184db59.tar.bz2
Fix: Proper copy constructor for HTMLBodyElement.
Diffstat (limited to 'src/html/html_body_element.h')
-rw-r--r--src/html/html_body_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_body_element.h b/src/html/html_body_element.h
index 765c44d..8b2e0a2 100644
--- a/src/html/html_body_element.h
+++ b/src/html/html_body_element.h
@@ -48,5 +48,14 @@ dom_exception _dom_html_body_element_copy(dom_node_internal *old,
_dom_virtual_html_body_element_destroy, \
_dom_html_body_element_copy
+/* Helper functions*/
+dom_exception _dom_html_body_element_copy_internal(
+ dom_html_body_element *old,
+ dom_html_body_element *new);
+#define dom_html_body_element_copy_internal(o, n) \
+ _dom_html_body_element_copy_internal( \
+ (dom_html_body_element *) (o), \
+ (dom_html_body_element *) (n))
+
#endif