summaryrefslogtreecommitdiff
path: root/src/html/html_iframe_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:37:15 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:37:15 +0000
commit66a583082059df2cb421fd8f482f163228c8798f (patch)
tree5d9fa1e875058226314520b1239dbcbfa44b337c /src/html/html_iframe_element.h
parent840478f5127d177a8ec4c98aa81f025d480bdadf (diff)
downloadlibdom-66a583082059df2cb421fd8f482f163228c8798f.tar.gz
libdom-66a583082059df2cb421fd8f482f163228c8798f.tar.bz2
Fix: Proper copy constructor for HTMLIframeElement.
Diffstat (limited to 'src/html/html_iframe_element.h')
-rw-r--r--src/html/html_iframe_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_iframe_element.h b/src/html/html_iframe_element.h
index 07ed091..df15234 100644
--- a/src/html/html_iframe_element.h
+++ b/src/html/html_iframe_element.h
@@ -49,5 +49,14 @@ dom_exception _dom_html_iframe_element_copy(dom_node_internal *old,
_dom_virtual_html_iframe_element_destroy, \
_dom_html_iframe_element_copy
+/* Helper functions*/
+dom_exception _dom_html_iframe_element_copy_internal(
+ dom_html_iframe_element *old,
+ dom_html_iframe_element *new);
+#define dom_html_iframe_element_copy_internal(o, n) \
+ _dom_html_iframe_element_copy_internal( \
+ (dom_html_iframe_element *) (o), \
+ (dom_html_iframe_element *) (n))
+
#endif