summaryrefslogtreecommitdiff
path: root/src/html/html_head_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:32:19 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:32:19 +0000
commit098842b900da83dd0d0148b37e3e9d96077358a8 (patch)
treef84272eabf6ef9aea223646e2383d4ea9ffd707e /src/html/html_head_element.h
parentf4bec4ae1f529d1e31da45f2abf48532dbb3b66f (diff)
downloadlibdom-098842b900da83dd0d0148b37e3e9d96077358a8.tar.gz
libdom-098842b900da83dd0d0148b37e3e9d96077358a8.tar.bz2
Fix: Proper copy constructor for HTMLHeadElement.
Diffstat (limited to 'src/html/html_head_element.h')
-rw-r--r--src/html/html_head_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_head_element.h b/src/html/html_head_element.h
index 08659fd..63953a3 100644
--- a/src/html/html_head_element.h
+++ b/src/html/html_head_element.h
@@ -48,5 +48,14 @@ dom_exception _dom_html_head_element_copy(dom_node_internal *old,
_dom_virtual_html_head_element_destroy, \
_dom_html_head_element_copy
+/* Helper functions*/
+dom_exception _dom_html_head_element_copy_internal(
+ dom_html_head_element *old,
+ dom_html_head_element *new);
+#define dom_html_head_element_copy_internal(o, n) \
+ _dom_html_head_element_copy_internal( \
+ (dom_html_head_element *) (o), \
+ (dom_html_head_element *) (n))
+
#endif