diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-24 16:56:00 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-24 16:56:00 +0000 |
commit | 3b745f0b5e37812ae2d2918ce2762b9e6c726b26 (patch) | |
tree | 836dba3cdae88e27a14bec3ae22ade1b5dd8a3ae /src/core/document_type.c | |
parent | efd1b61ffdbb92f6557e960a4590cd0c403f58df (diff) | |
download | libdom-3b745f0b5e37812ae2d2918ce2762b9e6c726b26.tar.gz libdom-3b745f0b5e37812ae2d2918ce2762b9e6c726b26.tar.bz2 |
Documents and document types do not have text content
svn path=/trunk/libdom/; revision=13602
Diffstat (limited to 'src/core/document_type.c')
-rw-r--r-- | src/core/document_type.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/core/document_type.c b/src/core/document_type.c index 89a94f4..a01abce 100644 --- a/src/core/document_type.c +++ b/src/core/document_type.c @@ -32,7 +32,7 @@ static struct dom_document_type_vtable document_type_vtable = { { DOM_NODE_EVENT_TARGET_VTABLE }, - DOM_NODE_VTABLE + DOM_NODE_VTABLE_DOCUMENT_TYPE }, DOM_DOCUMENT_TYPE_VTABLE }; @@ -305,6 +305,25 @@ dom_exception _dom_document_type_get_internal_subset( return DOM_NOT_SUPPORTED_ERR; } +dom_exception _dom_document_type_get_text_content(dom_node_internal *node, + dom_string **result) +{ + UNUSED(node); + + *result = NULL; + + return DOM_NO_ERR; +} + +dom_exception _dom_document_type_set_text_content(dom_node_internal *node, + dom_string *content) +{ + UNUSED(node); + UNUSED(content); + + return DOM_NO_ERR; +} + /*-----------------------------------------------------------------------*/ /* Overload protected virtual functions */ |