diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-12-21 22:18:10 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-12-21 22:18:10 +0000 |
commit | 83f3338663c4969eebefd8c2c43bd3fc43587fdd (patch) | |
tree | e48ba69628c5ba793533094e308c1fce9acb21aa /src/core/cdatasection.h | |
parent | 4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43 (diff) | |
download | libdom-83f3338663c4969eebefd8c2c43bd3fc43587fdd.tar.gz libdom-83f3338663c4969eebefd8c2c43bd3fc43587fdd.tar.bz2 |
Merge branches/jmb/dom-alloc-purge back to trunk
svn path=/trunk/libdom/; revision=13316
Diffstat (limited to 'src/core/cdatasection.h')
-rw-r--r-- | src/core/cdatasection.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/core/cdatasection.h b/src/core/cdatasection.h index 04a0954..8ec4755 100644 --- a/src/core/cdatasection.h +++ b/src/core/cdatasection.h @@ -13,30 +13,24 @@ #include <dom/core/string.h> struct dom_node_internal; -struct dom_cdata_section; struct dom_document; -struct lwc_string_s; dom_exception _dom_cdata_section_create(struct dom_document *doc, - struct lwc_string_s *name, dom_string *value, - struct dom_cdata_section **result); + dom_string *name, dom_string *value, + dom_cdata_section **result); -void _dom_cdata_section_destroy(struct dom_document *doc, - struct dom_cdata_section *cdata); +void _dom_cdata_section_destroy(dom_cdata_section *cdata); #define _dom_cdata_section_initialise _dom_text_initialise #define _dom_cdata_section_finalise _dom_text_finalise /* Following comes the protected vtable */ void __dom_cdata_section_destroy(struct dom_node_internal *node); -dom_exception _dom_cdata_section_alloc(struct dom_document *doc, - struct dom_node_internal *n, struct dom_node_internal **ret); -dom_exception _dom_cdata_section_copy(struct dom_node_internal *new, - struct dom_node_internal *old); +dom_exception _dom_cdata_section_copy(struct dom_node_internal *old, + struct dom_node_internal **copy); #define DOM_CDATA_SECTION_PROTECT_VTABLE \ __dom_cdata_section_destroy, \ - _dom_cdata_section_alloc, \ _dom_cdata_section_copy #endif |