summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBo Yang <struggleyb.nku@gmail.com>2009-04-29 12:44:35 +0000
committerBo Yang <struggleyb.nku@gmail.com>2009-04-29 12:44:35 +0000
commit2de93d957296913fc8e13d7deafaf7c61dfcf265 (patch)
tree8e0f209cee78455b2707b872dad6b2f691902b34 /src
parent62ef8dccac05d5cf6e109b6fdd6de11e598e5f9d (diff)
downloadlibdom-2de93d957296913fc8e13d7deafaf7c61dfcf265.tar.gz
libdom-2de93d957296913fc8e13d7deafaf7c61dfcf265.tar.bz2
Make dom_namednodemap and dom_nodelist more usable through macroes. Note, it is the partly-completed testcase that find this problem. Our DOMTS is on its way.
svn path=/trunk/dom/; revision=7365
Diffstat (limited to 'src')
-rw-r--r--src/core/namednodemap.c14
-rw-r--r--src/core/nodelist.c2
2 files changed, 8 insertions, 8 deletions
diff --git a/src/core/namednodemap.c b/src/core/namednodemap.c
index 98fa5f9..dab6bbb 100644
--- a/src/core/namednodemap.c
+++ b/src/core/namednodemap.c
@@ -159,7 +159,7 @@ dom_exception dom_namednodemap_get_length(struct dom_namednodemap *map,
* The returned node will have had its reference count increased. The client
* should unref the node once it has finished with it.
*/
-dom_exception dom_namednodemap_get_named_item(struct dom_namednodemap *map,
+dom_exception _dom_namednodemap_get_named_item(struct dom_namednodemap *map,
struct dom_string *name, struct dom_node **node)
{
struct dom_node_internal *cur;
@@ -215,7 +215,7 @@ dom_exception dom_namednodemap_get_named_item(struct dom_namednodemap *map,
* The returned node will have had its reference count increased. The client
* should unref the node once it has finished with it.
*/
-dom_exception dom_namednodemap_set_named_item(struct dom_namednodemap *map,
+dom_exception _dom_namednodemap_set_named_item(struct dom_namednodemap *map,
struct dom_node *arg, struct dom_node **node)
{
dom_exception err;
@@ -274,7 +274,7 @@ dom_exception dom_namednodemap_set_named_item(struct dom_namednodemap *map,
* The returned node will have had its reference count increased. The client
* should unref the node once it has finished with it.
*/
-dom_exception dom_namednodemap_remove_named_item(
+dom_exception _dom_namednodemap_remove_named_item(
struct dom_namednodemap *map, struct dom_string *name,
struct dom_node **node)
{
@@ -332,7 +332,7 @@ dom_exception dom_namednodemap_remove_named_item(
* The returned node will have had its reference count increased. The client
* should unref the node once it has finished with it.
*/
-dom_exception dom_namednodemap_item(struct dom_namednodemap *map,
+dom_exception _dom_namednodemap_item(struct dom_namednodemap *map,
unsigned long index, struct dom_node **node)
{
struct dom_node_internal *cur;
@@ -383,7 +383,7 @@ dom_exception dom_namednodemap_item(struct dom_namednodemap *map,
* The returned node will have had its reference count increased. The client
* should unref the node once it has finished with it.
*/
-dom_exception dom_namednodemap_get_named_item_ns(
+dom_exception _dom_namednodemap_get_named_item_ns(
struct dom_namednodemap *map, struct dom_string *namespace,
struct dom_string *localname, struct dom_node **node)
{
@@ -450,7 +450,7 @@ dom_exception dom_namednodemap_get_named_item_ns(
* The returned node will have had its reference count increased. The client
* should unref the node once it has finished with it.
*/
-dom_exception dom_namednodemap_set_named_item_ns(
+dom_exception _dom_namednodemap_set_named_item_ns(
struct dom_namednodemap *map, struct dom_node *arg,
struct dom_node **node)
{
@@ -517,7 +517,7 @@ dom_exception dom_namednodemap_set_named_item_ns(
* The returned node will have had its reference count increased. The client
* should unref the node once it has finished with it.
*/
-dom_exception dom_namednodemap_remove_named_item_ns(
+dom_exception _dom_namednodemap_remove_named_item_ns(
struct dom_namednodemap *map, struct dom_string *namespace,
struct dom_string *localname, struct dom_node **node)
{
diff --git a/src/core/nodelist.c b/src/core/nodelist.c
index c19b2eb..16534b6 100644
--- a/src/core/nodelist.c
+++ b/src/core/nodelist.c
@@ -238,7 +238,7 @@ dom_exception dom_nodelist_get_length(struct dom_nodelist *list,
* The returned node will have had its reference count increased. The client
* should unref the node once it has finished with it.
*/
-dom_exception dom_nodelist_item(struct dom_nodelist *list,
+dom_exception _dom_nodelist_item(struct dom_nodelist *list,
unsigned long index, struct dom_node **node)
{
struct dom_node_internal *cur = list->root->first_child;