From a73044080dc6e49838fd770726e2e2f6c0e2eeb9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 5 Feb 2016 17:18:11 +0000 Subject: Fix: Proper copy constructor for HTMLMetaElement. --- src/html/html_meta_element.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/html/html_meta_element.h') 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 -- cgit v1.2.3