summaryrefslogtreecommitdiff
path: root/src/html/html_olist_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:23:26 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:23:26 +0000
commit84f9b4ee23fae19194f6b32679f4f37f05dd565b (patch)
tree1ff91090e715a802975bb1b1c39e1396a2486998 /src/html/html_olist_element.h
parentf97e745d4995e4a6cd42b2591fc4d8b85f95954b (diff)
downloadlibdom-84f9b4ee23fae19194f6b32679f4f37f05dd565b.tar.gz
libdom-84f9b4ee23fae19194f6b32679f4f37f05dd565b.tar.bz2
Fix: Proper copy constructor for HTMLOListElement.
Diffstat (limited to 'src/html/html_olist_element.h')
-rw-r--r--src/html/html_olist_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_olist_element.h b/src/html/html_olist_element.h
index b06b277..bf8e79e 100644
--- a/src/html/html_olist_element.h
+++ b/src/html/html_olist_element.h
@@ -49,4 +49,13 @@ dom_exception _dom_html_olist_element_copy(dom_node_internal *old,
_dom_virtual_html_olist_element_destroy, \
_dom_html_olist_element_copy
+/* Helper functions*/
+dom_exception _dom_html_olist_element_copy_internal(
+ dom_html_olist_element *old,
+ dom_html_olist_element *new);
+#define dom_html_olist_element_copy_internal(o, n) \
+ _dom_html_olist_element_copy_internal( \
+ (dom_html_olist_element *) (o), \
+ (dom_html_olist_element *) (n))
+
#endif