path: root/src/core/document.h
diff options
authorBo Yang <>2009-03-23 03:16:17 +0000
committerBo Yang <>2009-03-23 03:16:17 +0000
commit80fefa4a957812b4357b2e65fa0776ee8c93b4ae (patch)
tree358be35a12bf12ab079e21a4a39af9e255084c24 /src/core/document.h
parent322bd58c4e0d68abe817cc4036e3ff7acb51e152 (diff)
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/document.h')
1 files changed, 2 insertions, 2 deletions
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,