summaryrefslogtreecommitdiff
path: root/src/html/html_button_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:02:28 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:02:28 +0000
commit42bcd5d6f7a124a0b1680cd781effa2c396e387d (patch)
tree0b6f9fc8d5878960fb703b04076a22996a0a4c4e /src/html/html_button_element.h
parent6c8d440459087acecfcb4e492573371fd6443f23 (diff)
downloadlibdom-42bcd5d6f7a124a0b1680cd781effa2c396e387d.tar.gz
libdom-42bcd5d6f7a124a0b1680cd781effa2c396e387d.tar.bz2
Provide generic copy constructor for HTMLButtonElement.
Diffstat (limited to 'src/html/html_button_element.h')
-rw-r--r--src/html/html_button_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_button_element.h b/src/html/html_button_element.h
index 9734106..43adae4 100644
--- a/src/html/html_button_element.h
+++ b/src/html/html_button_element.h
@@ -55,5 +55,14 @@ dom_exception _dom_html_button_element_copy(dom_node_internal *old,
dom_exception _dom_html_button_element_set_form(
dom_html_button_element *button, dom_html_form_element *form);
+/* Helper functions*/
+dom_exception _dom_html_button_element_copy_internal(
+ dom_html_button_element *old,
+ dom_html_button_element *new);
+#define dom_html_button_element_copy_internal(o, n) \
+ _dom_html_button_element_copy_internal( \
+ (dom_html_button_element *) (o), \
+ (dom_html_button_element *) (n))
+
#endif