summaryrefslogtreecommitdiff
path: root/src/html/html_area_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 15:46:12 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 15:46:12 +0000
commit28f754a894d563d826301aa9f9a46815e57660ab (patch)
tree347fced7cfdfc672e661d0f334d7785096faf207 /src/html/html_area_element.h
parent49c0d92e1c5f1268074b76ea372f4ac3dcc91734 (diff)
downloadlibdom-28f754a894d563d826301aa9f9a46815e57660ab.tar.gz
libdom-28f754a894d563d826301aa9f9a46815e57660ab.tar.bz2
Fix: Proper copy constructor for HTMLAreaElement.
Diffstat (limited to 'src/html/html_area_element.h')
-rw-r--r--src/html/html_area_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_area_element.h b/src/html/html_area_element.h
index 73462b2..2c765f6 100644
--- a/src/html/html_area_element.h
+++ b/src/html/html_area_element.h
@@ -49,4 +49,13 @@ dom_exception _dom_html_area_element_copy(dom_node_internal *old,
_dom_virtual_html_area_element_destroy, \
_dom_html_area_element_copy
+/* Helper functions*/
+dom_exception _dom_html_area_element_copy_internal(
+ dom_html_area_element *old,
+ dom_html_area_element *new);
+#define dom_html_area_element_copy_internal(o, n) \
+ _dom_html_area_element_copy_internal( \
+ (dom_html_area_element *) (o), \
+ (dom_html_area_element *) (n))
+
#endif