summaryrefslogtreecommitdiff
path: root/src/core/node.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-06 23:15:39 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-06 23:15:39 +0000
commit75d7ce5895a98026a3e4b0e03fafc0b3761a07f1 (patch)
treeaeb5cac1db5f7717d69a48eaaebb2489f6395d6f /src/core/node.c
parentc8534543c994eb03ecae71064dae88cc320f2e09 (diff)
downloadlibdom-75d7ce5895a98026a3e4b0e03fafc0b3761a07f1.tar.gz
libdom-75d7ce5895a98026a3e4b0e03fafc0b3761a07f1.tar.bz2
Simplify DOMImplementation API by replacing dom_strings with const char *
svn path=/trunk/libdom/; revision=11024
Diffstat (limited to 'src/core/node.c')
-rw-r--r--src/core/node.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/node.c b/src/core/node.c
index c10f740..71977b4 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -1299,7 +1299,8 @@ dom_exception _dom_node_is_supported(dom_node_internal *node,
UNUSED(node);
- dom_implementation_has_feature(feature, version, &has);
+ dom_implementation_has_feature(_dom_string_data(feature),
+ _dom_string_data(version), &has);
*result = has;
@@ -1792,7 +1793,8 @@ dom_exception _dom_node_get_feature(dom_node_internal *node,
UNUSED(node);
- dom_implementation_has_feature(feature, version, &has);
+ dom_implementation_has_feature(_dom_string_data(feature),
+ _dom_string_data(version), &has);
if (has) {
*result = node;