diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 17:01:31 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 17:01:31 +0000 |
commit | c02718070450fb819b42b011b1b083b83a0b2bdf (patch) | |
tree | 509dd81fe375e0ab66e23f6434c00f32a327b9e2 /src/html/html_map_element.h | |
parent | 9863b4753fef8ad5ad0cb262fe59df61eb8a0352 (diff) | |
download | libdom-c02718070450fb819b42b011b1b083b83a0b2bdf.tar.gz libdom-c02718070450fb819b42b011b1b083b83a0b2bdf.tar.bz2 |
Fix: Proper copy constructor for HTMLMapElement.
Diffstat (limited to 'src/html/html_map_element.h')
-rw-r--r-- | src/html/html_map_element.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/html/html_map_element.h b/src/html/html_map_element.h index ede8a71..031a032 100644 --- a/src/html/html_map_element.h +++ b/src/html/html_map_element.h @@ -49,6 +49,15 @@ dom_exception _dom_html_map_element_copy(dom_node_internal *old, _dom_virtual_html_map_element_destroy, \ _dom_html_map_element_copy +/* Helper functions*/ +dom_exception _dom_html_map_element_copy_internal( + dom_html_map_element *old, + dom_html_map_element *new); +#define dom_html_map_element_copy_internal(o, n) \ + _dom_html_map_element_copy_internal( \ + (dom_html_map_element *) (o), \ + (dom_html_map_element *) (n)) + #endif bool callback(struct dom_node_internal *node, void *ctx); |