summaryrefslogtreecommitdiff
path: root/src/html/html_font_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:21:33 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:21:33 +0000
commit663650a0e01c575a96858460df6bcabda126dbcc (patch)
treeb9d0491550fd0ff4900ad569a93314e1ecb01f67 /src/html/html_font_element.h
parentb5c1e7ce2f959dba3e8f62c680afa1674bd3389f (diff)
downloadlibdom-663650a0e01c575a96858460df6bcabda126dbcc.tar.gz
libdom-663650a0e01c575a96858460df6bcabda126dbcc.tar.bz2
Fix: Proper copy constructor for HTMLFontElement.
Diffstat (limited to 'src/html/html_font_element.h')
-rw-r--r--src/html/html_font_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_font_element.h b/src/html/html_font_element.h
index 41f22ce..60b220c 100644
--- a/src/html/html_font_element.h
+++ b/src/html/html_font_element.h
@@ -49,4 +49,13 @@ dom_exception _dom_html_font_element_copy(dom_node_internal *old,
_dom_virtual_html_font_element_destroy, \
_dom_html_font_element_copy
+/* Helper functions*/
+dom_exception _dom_html_font_element_copy_internal(
+ dom_html_font_element *old,
+ dom_html_font_element *new);
+#define dom_html_font_element_copy_internal(o, n) \
+ _dom_html_font_element_copy_internal( \
+ (dom_html_font_element *) (o), \
+ (dom_html_font_element *) (n))
+
#endif