summaryrefslogtreecommitdiff
path: root/src/html/html_meta_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:18:11 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:18:11 +0000
commita73044080dc6e49838fd770726e2e2f6c0e2eeb9 (patch)
treed26d6cea49f51260604a17aa20f0835e571b4e20 /src/html/html_meta_element.h
parent0238cec8474616636d95b83632a0a3ad39b13cd0 (diff)
downloadlibdom-a73044080dc6e49838fd770726e2e2f6c0e2eeb9.tar.gz
libdom-a73044080dc6e49838fd770726e2e2f6c0e2eeb9.tar.bz2
Fix: Proper copy constructor for HTMLMetaElement.
Diffstat (limited to 'src/html/html_meta_element.h')
-rw-r--r--src/html/html_meta_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_meta_element.h b/src/html/html_meta_element.h
index d92e5fd..65b625c 100644
--- a/src/html/html_meta_element.h
+++ b/src/html/html_meta_element.h
@@ -48,5 +48,14 @@ dom_exception _dom_html_meta_element_copy(dom_node_internal *old,
_dom_virtual_html_meta_element_destroy, \
_dom_html_meta_element_copy
+/* Helper functions*/
+dom_exception _dom_html_meta_element_copy_internal(
+ dom_html_meta_element *old,
+ dom_html_meta_element *new);
+#define dom_html_meta_element_copy_internal(o, n) \
+ _dom_html_meta_element_copy_internal( \
+ (dom_html_meta_element *) (o), \
+ (dom_html_meta_element *) (n))
+
#endif