summaryrefslogtreecommitdiff
path: root/src/core/document_type.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/document_type.c')
-rw-r--r--src/core/document_type.c21
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 */