summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorJames Shaw <jshaw@netsurf-browser.org>2007-07-14 10:31:00 +0000
committerJames Shaw <jshaw@netsurf-browser.org>2007-07-14 10:31:00 +0000
commitae16163e6a5d88870902cc269c00fef05e79b811 (patch)
tree98e4d83b6e15f8eaaf89b21f49f9324c7f9d9692 /src/core
parent54447d4b63e18cc6a43182d3b52c79f548772261 (diff)
downloadlibdom-ae16163e6a5d88870902cc269c00fef05e79b811.tar.gz
libdom-ae16163e6a5d88870902cc269c00fef05e79b811.tar.bz2
Modify node value, type and name functions to match w3c spec
svn path=/trunk/dom/; revision=3409
Diffstat (limited to 'src/core')
-rw-r--r--src/core/node.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/node.c b/src/core/node.c
index 40848df..fc6f3fd 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -104,7 +104,7 @@ void dom_node_unref(struct dom_node *node)
* the responsibility of the caller to unref the string once it has
* finished with it.
*/
-dom_exception dom_node_get_name(struct dom_node *node,
+dom_exception dom_node_get_node_name(struct dom_node *node,
struct dom_string **result)
{
UNUSED(node);
@@ -127,7 +127,7 @@ dom_exception dom_node_get_name(struct dom_node *node,
* DOM3Core states that this can raise DOMSTRING_SIZE_ERR. It will not in
* this implementation; dom_strings are unbounded.
*/
-dom_exception dom_node_get_value(struct dom_node *node,
+dom_exception dom_node_get_node_value(struct dom_node *node,
struct dom_string **result)
{
UNUSED(node);
@@ -149,7 +149,7 @@ dom_exception dom_node_get_value(struct dom_node *node,
* should unref it after the call (as the caller should have already claimed
* a reference on the string). The node's existing value will be unrefed.
*/
-dom_exception dom_node_set_value(struct dom_node *node,
+dom_exception dom_node_set_node_value(struct dom_node *node,
struct dom_string *value)
{
UNUSED(node);
@@ -165,7 +165,7 @@ dom_exception dom_node_set_value(struct dom_node *node,
* \param result Pointer to location to receive node type
* \return DOM_NO_ERR.
*/
-dom_exception dom_node_get_type(struct dom_node *node, dom_node_type *result)
+dom_exception dom_node_get_node_type(struct dom_node *node, dom_node_type *result)
{
*result = node->type;