diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 16:36:02 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 16:36:02 +0000 |
commit | 840478f5127d177a8ec4c98aa81f025d480bdadf (patch) | |
tree | 9ce013c1daf6d3b467dca617fd63885c7e49e6cb /src/html/html_html_element.h | |
parent | bdff6f97ec9aad29c276632fb154e89f4ddf972a (diff) | |
download | libdom-840478f5127d177a8ec4c98aa81f025d480bdadf.tar.gz libdom-840478f5127d177a8ec4c98aa81f025d480bdadf.tar.bz2 |
Fix: Proper copy constructor for HTMLHTMLElement.
Diffstat (limited to 'src/html/html_html_element.h')
-rw-r--r-- | src/html/html_html_element.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_html_element.h b/src/html/html_html_element.h index 78da8f1..d3a872f 100644 --- a/src/html/html_html_element.h +++ b/src/html/html_html_element.h @@ -48,5 +48,14 @@ dom_exception _dom_html_html_element_copy(dom_node_internal *old, _dom_virtual_html_html_element_destroy, \ _dom_html_html_element_copy +/* Helper functions*/ +dom_exception _dom_html_html_element_copy_internal( + dom_html_html_element *old, + dom_html_html_element *new); +#define dom_html_html_element_copy_internal(o, n) \ + _dom_html_html_element_copy_internal( \ + (dom_html_html_element *) (o), \ + (dom_html_html_element *) (n)) + #endif |