diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 16:32:19 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 16:32:19 +0000 |
commit | 098842b900da83dd0d0148b37e3e9d96077358a8 (patch) | |
tree | f84272eabf6ef9aea223646e2383d4ea9ffd707e /src/html/html_head_element.h | |
parent | f4bec4ae1f529d1e31da45f2abf48532dbb3b66f (diff) | |
download | libdom-098842b900da83dd0d0148b37e3e9d96077358a8.tar.gz libdom-098842b900da83dd0d0148b37e3e9d96077358a8.tar.bz2 |
Fix: Proper copy constructor for HTMLHeadElement.
Diffstat (limited to 'src/html/html_head_element.h')
-rw-r--r-- | src/html/html_head_element.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_head_element.h b/src/html/html_head_element.h index 08659fd..63953a3 100644 --- a/src/html/html_head_element.h +++ b/src/html/html_head_element.h @@ -48,5 +48,14 @@ dom_exception _dom_html_head_element_copy(dom_node_internal *old, _dom_virtual_html_head_element_destroy, \ _dom_html_head_element_copy +/* Helper functions*/ +dom_exception _dom_html_head_element_copy_internal( + dom_html_head_element *old, + dom_html_head_element *new); +#define dom_html_head_element_copy_internal(o, n) \ + _dom_html_head_element_copy_internal( \ + (dom_html_head_element *) (o), \ + (dom_html_head_element *) (n)) + #endif |