summaryrefslogtreecommitdiff
path: root/src/html/html_li_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:58:11 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:58:11 +0000
commit139250efb8e5186503122968f92852349ef11d3d (patch)
treea9630aa5f0bd246a68c43abc13aa99a171c7d50b /src/html/html_li_element.h
parent87d9b3fab8000f88022ab88fa44ffdbb0c73cd7e (diff)
downloadlibdom-139250efb8e5186503122968f92852349ef11d3d.tar.gz
libdom-139250efb8e5186503122968f92852349ef11d3d.tar.bz2
Fix: Proper copy constructor for HTMLLiElement.
Diffstat (limited to 'src/html/html_li_element.h')
-rw-r--r--src/html/html_li_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_li_element.h b/src/html/html_li_element.h
index 74dd5af..894802d 100644
--- a/src/html/html_li_element.h
+++ b/src/html/html_li_element.h
@@ -49,4 +49,13 @@ dom_exception _dom_html_li_element_copy(dom_node_internal *old,
_dom_virtual_html_li_element_destroy, \
_dom_html_li_element_copy
+/* Helper functions*/
+dom_exception _dom_html_li_element_copy_internal(
+ dom_html_li_element *old,
+ dom_html_li_element *new);
+#define dom_html_li_element_copy_internal(o, n) \
+ _dom_html_li_element_copy_internal( \
+ (dom_html_li_element *) (o), \
+ (dom_html_li_element *) (n))
+
#endif