From 80fefa4a957812b4357b2e65fa0776ee8c93b4ae Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Mon, 23 Mar 2009 03:16:17 +0000 Subject: 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 --- src/core/document.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/document.h') diff --git a/src/core/document.h b/src/core/document.h index 874bc22..f05b9e0 100644 --- a/src/core/document.h +++ b/src/core/document.h @@ -171,7 +171,7 @@ void *dom_document_alloc(struct dom_document *doc, void *ptr, size_t size); /* Get a nodelist, creating one if necessary */ dom_exception dom_document_get_nodelist(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); /* Remove a nodelist */ @@ -180,7 +180,7 @@ void dom_document_remove_nodelist(struct dom_document *doc, /* Get a namednodemap, creating one if necessary */ dom_exception dom_document_get_namednodemap(struct dom_document *doc, - struct dom_node *head, dom_node_type type, + struct dom_node_internal *head, dom_node_type type, struct dom_namednodemap **map); /* Remove a namednodemap */ void dom_document_remove_namednodemap(struct dom_document *doc, -- cgit v1.2.3