summaryrefslogtreecommitdiff
path: root/src/html/html_input_element.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:40:51 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 16:40:51 +0000
commit9f795a621007766624885e52fc914e1b1d0af2dc (patch)
treec48c4326c4d31d19f12664c21bda2bff9500806b /src/html/html_input_element.h
parentd3dd1267f3524c999f33bd286c115739f8caee28 (diff)
downloadlibdom-9f795a621007766624885e52fc914e1b1d0af2dc.tar.gz
libdom-9f795a621007766624885e52fc914e1b1d0af2dc.tar.bz2
Provide generic copy constructor for HTMLInputElement.
Diffstat (limited to 'src/html/html_input_element.h')
-rw-r--r--src/html/html_input_element.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_input_element.h b/src/html/html_input_element.h
index b445888..3600561 100644
--- a/src/html/html_input_element.h
+++ b/src/html/html_input_element.h
@@ -61,5 +61,14 @@ dom_exception _dom_html_input_element_copy(dom_node_internal *old,
dom_exception _dom_html_input_element_set_form(
dom_html_input_element *input, dom_html_form_element *form);
+/* Helper functions*/
+dom_exception _dom_html_input_element_copy_internal(
+ dom_html_input_element *old,
+ dom_html_input_element *new);
+#define dom_html_input_element_copy_internal(o, n) \
+ _dom_html_input_element_copy_internal( \
+ (dom_html_input_element *) (o), \
+ (dom_html_input_element *) (n))
+
#endif