summaryrefslogtreecommitdiff
path: root/src/html/html_pre_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:36:18 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:36:18 +0000
commitc4b0e2af4ea514ed9244338a0098de89cdcec7ca (patch)
tree00d18fb77c7b37da76ba7672ff5e4c7b034d0061 /src/html/html_pre_element.h
parent37692b438318384d5c39b33f9b204ec4e0d17b2d (diff)
downloadlibdom-c4b0e2af4ea514ed9244338a0098de89cdcec7ca.tar.gz
libdom-c4b0e2af4ea514ed9244338a0098de89cdcec7ca.tar.bz2
Fix: Proper copy constructor for HTMLPreElement.
Diffstat (limited to 'src/html/html_pre_element.h')
-rw-r--r--src/html/html_pre_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_pre_element.h b/src/html/html_pre_element.h
index d9dc6d8..0a5e422 100644
--- a/src/html/html_pre_element.h
+++ b/src/html/html_pre_element.h
@@ -49,4 +49,13 @@ dom_exception _dom_html_pre_element_copy(dom_node_internal *old,
_dom_virtual_html_pre_element_destroy, \
_dom_html_pre_element_copy
+/* Helper functions*/
+dom_exception _dom_html_pre_element_copy_internal(
+ dom_html_pre_element *old,
+ dom_html_pre_element *new);
+#define dom_html_pre_element_copy_internal(o, n) \
+ _dom_html_pre_element_copy_internal( \
+ (dom_html_pre_element *) (o), \
+ (dom_html_pre_element *) (n))
+
#endif