diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 17:26:47 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 17:26:47 +0000 |
commit | 89171f671b9c9b4245413b75d2241e59a1d51aed (patch) | |
tree | a030664270c445df1e5c0cbba65dceabbb4aa3c2 /src/html/html_option_element.h | |
parent | 64833e7b9ece8b6bfbbd9984e5031da64f8286eb (diff) | |
download | libdom-89171f671b9c9b4245413b75d2241e59a1d51aed.tar.gz libdom-89171f671b9c9b4245413b75d2241e59a1d51aed.tar.bz2 |
Provide generic copy constructor for HTMLOptionElement.
Diffstat (limited to 'src/html/html_option_element.h')
-rw-r--r-- | src/html/html_option_element.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_option_element.h b/src/html/html_option_element.h index b1f8b64..4b7d0b1 100644 --- a/src/html/html_option_element.h +++ b/src/html/html_option_element.h @@ -50,5 +50,14 @@ dom_exception _dom_html_option_element_copy(dom_node_internal *old, _dom_virtual_html_option_element_destroy, \ _dom_html_option_element_copy +/* Helper functions*/ +dom_exception _dom_html_option_element_copy_internal( + dom_html_option_element *old, + dom_html_option_element *new); +#define dom_html_option_element_copy_internal(o, n) \ + _dom_html_option_element_copy_internal( \ + (dom_html_option_element *) (o), \ + (dom_html_option_element *) (n)) + #endif |