summaryrefslogtreecommitdiff
path: root/src/html/html_anchor_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 15:40:30 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 15:40:30 +0000
commite3dd4b20860dab9bb855157a4aa2091495e6f49c (patch)
tree1881c5a9c24722fe639f8a53c4def665b3ab5944 /src/html/html_anchor_element.h
parent1ad8e7cc432ec20b489129f659194187217ed43f (diff)
downloadlibdom-e3dd4b20860dab9bb855157a4aa2091495e6f49c.tar.gz
libdom-e3dd4b20860dab9bb855157a4aa2091495e6f49c.tar.bz2
Fix: Proper copy constructor for HTMLAnchorElement.
Diffstat (limited to 'src/html/html_anchor_element.h')
-rw-r--r--src/html/html_anchor_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_anchor_element.h b/src/html/html_anchor_element.h
index b79daf9..791956b 100644
--- a/src/html/html_anchor_element.h
+++ b/src/html/html_anchor_element.h
@@ -49,4 +49,13 @@ dom_exception _dom_html_anchor_element_copy(dom_node_internal *old,
_dom_virtual_html_anchor_element_destroy, \
_dom_html_anchor_element_copy
+/* Helper functions*/
+dom_exception _dom_html_anchor_element_copy_internal(
+ dom_html_anchor_element *old,
+ dom_html_anchor_element *new);
+#define dom_html_anchor_element_copy_internal(o, n) \
+ _dom_html_anchor_element_copy_internal( \
+ (dom_html_anchor_element *) (o), \
+ (dom_html_anchor_element *) (n))
+
#endif