diff options
author | Bo Yang <struggleyb.nku@gmail.com> | 2009-04-29 12:44:35 +0000 |
---|---|---|
committer | Bo Yang <struggleyb.nku@gmail.com> | 2009-04-29 12:44:35 +0000 |
commit | f841fed10f07c6bb8feee183688c0eed2a99ece0 (patch) | |
tree | 8e0f209cee78455b2707b872dad6b2f691902b34 /src/core/namednodemap.c | |
parent | 56abea1fc38187082f16735c881afc2a7db1a7f9 (diff) | |
download | libdom-f841fed10f07c6bb8feee183688c0eed2a99ece0.tar.gz libdom-f841fed10f07c6bb8feee183688c0eed2a99ece0.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/core/namednodemap.c')
-rw-r--r-- | src/core/namednodemap.c | 14 |
1 files changed, 7 insertions, 7 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) { |