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/element.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/element.h') diff --git a/src/core/element.h b/src/core/element.h index 5b3d26c..a05b8c0 100644 --- a/src/core/element.h +++ b/src/core/element.h @@ -50,7 +50,8 @@ dom_exception dom_element_get_attributes(struct dom_element *element, dom_exception dom_element_has_attributes(struct dom_element *element, bool *result); -struct dom_node *dom_element_get_first_attribute(struct dom_element *element); +struct dom_node_internal *dom_element_get_first_attribute( + struct dom_element *element); /* The virtual functions of dom_element */ dom_exception _dom_element_get_tag_name(struct dom_element *element, -- cgit v1.2.3