summaryrefslogtreecommitdiff
path: root/src/core/nodelist.c
diff options
context:
space:
mode:
authorBo Yang <struggleyb.nku@gmail.com>2009-03-23 03:16:17 +0000
committerBo Yang <struggleyb.nku@gmail.com>2009-03-23 03:16:17 +0000
commit80fefa4a957812b4357b2e65fa0776ee8c93b4ae (patch)
tree358be35a12bf12ab079e21a4a39af9e255084c24 /src/core/nodelist.c
parent322bd58c4e0d68abe817cc4036e3ff7acb51e152 (diff)
downloadlibdom-80fefa4a957812b4357b2e65fa0776ee8c93b4ae.tar.gz
libdom-80fefa4a957812b4357b2e65fa0776ee8c93b4ae.tar.bz2
Modify NamedNodeMap, note that there is no vtable for this type because it is not in the DOM inherit hierarchy. And the internal API used between different DOM parts should use struct dom_node_internal instead of struct dom_node.
svn path=/trunk/dom/; revision=6821
Diffstat (limited to 'src/core/nodelist.c')
-rw-r--r--src/core/nodelist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/nodelist.c b/src/core/nodelist.c
index 4377426..bcb634a 100644
--- a/src/core/nodelist.c
+++ b/src/core/nodelist.c
@@ -66,7 +66,7 @@ struct dom_nodelist {
* do so explicitly. The client must unref the list once finished with it.
*/
dom_exception dom_nodelist_create(struct dom_document *doc,
- struct dom_node *root, struct dom_string *tagname,
+ struct dom_node_internal *root, struct dom_string *tagname,
struct dom_string *namespace, struct dom_string *localname,
struct dom_nodelist **list)
{
@@ -316,9 +316,9 @@ dom_exception dom_nodelist_item(struct dom_nodelist *list,
* \param localname Local part of nodes in list (or NULL)
* \return true if list matches, false otherwise
*/
-bool dom_nodelist_match(struct dom_nodelist *list, struct dom_node *root,
- struct dom_string *tagname, struct dom_string *namespace,
- struct dom_string *localname)
+bool dom_nodelist_match(struct dom_nodelist *list,
+ struct dom_node_internal *root, struct dom_string *tagname,
+ struct dom_string *namespace, struct dom_string *localname)
{
if (list->root != root)
return false;