summaryrefslogtreecommitdiff
path: root/src/html/html_opt_group_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:25:06 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:25:06 +0000
commit64833e7b9ece8b6bfbbd9984e5031da64f8286eb (patch)
treefad0963ce2d9b8bb61f136d95574495619e3c1aa /src/html/html_opt_group_element.h
parent84f9b4ee23fae19194f6b32679f4f37f05dd565b (diff)
downloadlibdom-64833e7b9ece8b6bfbbd9984e5031da64f8286eb.tar.gz
libdom-64833e7b9ece8b6bfbbd9984e5031da64f8286eb.tar.bz2
Fix: Proper copy constructor for HTMLOptGroupElement.
Diffstat (limited to 'src/html/html_opt_group_element.h')
-rw-r--r--src/html/html_opt_group_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_opt_group_element.h b/src/html/html_opt_group_element.h
index 94dcf9e..a34bb75 100644
--- a/src/html/html_opt_group_element.h
+++ b/src/html/html_opt_group_element.h
@@ -48,4 +48,13 @@ dom_exception _dom_html_opt_group_element_copy(dom_node_internal *old,
_dom_virtual_html_opt_group_element_destroy, \
_dom_html_opt_group_element_copy
+/* Helper functions*/
+dom_exception _dom_html_opt_group_element_copy_internal(
+ dom_html_opt_group_element *old,
+ dom_html_opt_group_element *new);
+#define dom_html_opt_group_element_copy_internal(o, n) \
+ _dom_html_opt_group_element_copy_internal( \
+ (dom_html_opt_group_element *) (o), \
+ (dom_html_opt_group_element *) (n))
+
#endif