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.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.c')
-rw-r--r-- | src/core/document.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/core/document.c b/src/core/document.c index df5fffa..3f7ce77 100644 --- a/src/core/document.c +++ b/src/core/document.c @@ -47,7 +47,7 @@ static struct dom_document_vtable document_vtable = { { DOM_NODE_EVENT_TARGET_VTABLE }, - DOM_NODE_VTABLE + DOM_NODE_VTABLE_DOCUMENT }, DOM_DOCUMENT_VTABLE }; @@ -1043,6 +1043,25 @@ dom_exception _dom_document_rename_node(dom_document *doc, return DOM_NOT_SUPPORTED_ERR; } +dom_exception _dom_document_get_text_content(dom_node_internal *node, + dom_string **result) +{ + UNUSED(node); + + *result = NULL; + + return DOM_NO_ERR; +} + +dom_exception _dom_document_set_text_content(dom_node_internal *node, + dom_string *content) +{ + UNUSED(node); + UNUSED(content); + + return DOM_NO_ERR; +} + /*-----------------------------------------------------------------------*/ /* Overload protected virtual functions */ |