summaryrefslogtreecommitdiff
path: root/src/core/element.h
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/element.h
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/element.h')
-rw-r--r--src/core/element.h3
1 files changed, 2 insertions, 1 deletions
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,