summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-03-24 10:11:44 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-03-24 10:11:44 +0000
commit5701ddef5d0f925402311371147edbc4330d98b6 (patch)
treecf9900e4a5921cb3251d0ad68e1115ac9c51b6e5
parentead7bf7596633ca0d07b61a370d8a6e53ecb3721 (diff)
downloadlibdom-5701ddef5d0f925402311371147edbc4330d98b6.tar.gz
libdom-5701ddef5d0f925402311371147edbc4330d98b6.tar.bz2
Fix API documentation comments.
svn path=/trunk/libdom/; revision=13585
-rw-r--r--src/core/element.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/core/element.c b/src/core/element.c
index b50ce92..4d06588 100644
--- a/src/core/element.c
+++ b/src/core/element.c
@@ -1294,10 +1294,10 @@ dom_exception _dom_element_copy(dom_node_internal *old,
/**
* The internal helper function for getAttribute/getAttributeNS.
*
- * \param element The element
- * \param hs The hash table contains the attributes
- * \param name The name of the attribute
- * \param value The value of the attribute
+ * \param element The element
+ * \param namespace The namespace to look for attribute in. May be NULL.
+ * \param name The name of the attribute
+ * \param value The value of the attribute
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
dom_exception _dom_element_get_attr(struct dom_element *element,
@@ -1322,10 +1322,10 @@ dom_exception _dom_element_get_attr(struct dom_element *element,
/**
* The internal helper function for setAttribute and setAttributeNS.
*
- * \param element The element
- * \param hs The attributes' hash table
- * \param name The name of the new attribute
- * \param value The value of the new attribute
+ * \param element The element
+ * \param namespace The namespace to set attribute for. May be NULL.
+ * \param name The name of the new attribute
+ * \param value The value of the new attribute
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
dom_exception _dom_element_set_attr(struct dom_element *element,
@@ -1819,12 +1819,12 @@ dom_exception _dom_element_remove_attr_node(struct dom_element *element,
}
/**
- * Test whether certain attribute is inside the hash table
+ * Test whether certain attribute exists on the element
*
- * \param element The element
- * \param hs The hash table contains the attributes
- * \param name The attribute's name
- * \param result The return value
+ * \param element The element
+ * \param namespace The namespace to look for attribute in. May be NULL.
+ * \param name The attribute's name
+ * \param result The return value
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
dom_exception _dom_element_has_attr(struct dom_element *element,