summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-09-11 14:50:06 +0100
committerVincent Sanders <vince@netsurf-browser.org>2012-09-11 14:50:06 +0100
commit7dbf02c5cef37edeefd89bc23de49c22ce3e2e7f (patch)
tree9d8313da19d26e1830cce7797102e6aba52fba4b
parent28490c875240db5c878eba2ec7ec1af7dc414521 (diff)
downloadlibdom-7dbf02c5cef37edeefd89bc23de49c22ce3e2e7f.tar.gz
libdom-7dbf02c5cef37edeefd89bc23de49c22ce3e2e7f.tar.bz2
fixup comment damage from automated type conversion
-rw-r--r--bindings/xml/expat_xmlparser.c10
-rw-r--r--bindings/xml/libxml_xmlparser.c32
-rw-r--r--include/dom/core/exceptions.h2
-rw-r--r--src/core/element.c8
-rw-r--r--src/core/node.c6
-rw-r--r--src/utils/hashtable.c4
6 files changed, 31 insertions, 31 deletions
diff --git a/bindings/xml/expat_xmlparser.c b/bindings/xml/expat_xmlparser.c
index 8cf1193..1077bc9 100644
--- a/bindings/xml/expat_xmlparser.c
+++ b/bindings/xml/expat_xmlparser.c
@@ -214,7 +214,7 @@ expat_xmlparser_cdata_handler(void *_parser,
return;
}
- /* No int32_ter need data */
+ /* No longer need data */
dom_string_unref(data);
/* Append cdata section to parent */
@@ -230,7 +230,7 @@ expat_xmlparser_cdata_handler(void *_parser,
if (ins_cdata != NULL)
dom_node_unref(ins_cdata);
- /* No int32_ter interested in cdata section */
+ /* No longer interested in cdata section */
dom_node_unref(cdata);
}
@@ -309,7 +309,7 @@ expat_xmlparser_comment_handler(void *_parser,
return;
}
- /* No int32_ter need data */
+ /* No longer need data */
dom_string_unref(data);
/* Append comment to parent */
@@ -326,7 +326,7 @@ expat_xmlparser_comment_handler(void *_parser,
if (ins_comment != NULL)
dom_node_unref((struct dom_node *) ins_comment);
- /* No int32_ter interested in comment */
+ /* No longer interested in comment */
dom_node_unref((struct dom_node *) comment);
}
@@ -369,7 +369,7 @@ expat_xmlparser_start_doctype_decl_handler(void *_parser,
if (ins_doctype != NULL)
dom_node_unref((struct dom_node *) ins_doctype);
- /* No int32_ter interested in doctype */
+ /* No longer interested in doctype */
dom_node_unref((struct dom_node *) doctype);
}
diff --git a/bindings/xml/libxml_xmlparser.c b/bindings/xml/libxml_xmlparser.c
index ddca1d4..1c2442a 100644
--- a/bindings/xml/libxml_xmlparser.c
+++ b/bindings/xml/libxml_xmlparser.c
@@ -672,7 +672,7 @@ void xml_parser_add_element_node(dom_xml_parser *parser,
return;
}
- /* No int32_ter need tag name */
+ /* No longer need tag name */
dom_string_unref(tag_name);
} else {
/* Namespace */
@@ -727,7 +727,7 @@ void xml_parser_add_element_node(dom_xml_parser *parser,
return;
}
- /* No int32_ter need namespace / qname */
+ /* No longer need namespace / qname */
dom_string_unref(namespace);
dom_string_unref(qname);
}
@@ -764,7 +764,7 @@ void xml_parser_add_element_node(dom_xml_parser *parser,
goto cleanup;
}
- /* No int32_ter need attribute name */
+ /* No longer need attribute name */
dom_string_unref(name);
} else {
/* Attribute has namespace */
@@ -819,7 +819,7 @@ void xml_parser_add_element_node(dom_xml_parser *parser,
return;
}
- /* No int32_ter need namespace / qname */
+ /* No longer need namespace / qname */
dom_string_unref(namespace);
dom_string_unref(qname);
}
@@ -865,7 +865,7 @@ void xml_parser_add_element_node(dom_xml_parser *parser,
if (prev_attr != NULL && prev_attr != attr)
dom_node_unref((struct dom_node *) prev_attr);
- /* We're no int32_ter interested in the attribute node */
+ /* We're no longer interested in the attribute node */
dom_node_unref((struct dom_node *) attr);
}
@@ -890,13 +890,13 @@ void xml_parser_add_element_node(dom_xml_parser *parser,
goto cleanup;
}
- /* No int32_ter interested in element node */
+ /* No longer interested in element node */
dom_node_unref((struct dom_node *) el);
return;
cleanup:
- /* No int32_ter want node (any attributes attached to it
+ /* No longer want node (any attributes attached to it
* will be cleaned up with it) */
dom_node_unref((struct dom_node *) el);
@@ -935,7 +935,7 @@ void xml_parser_add_text_node(dom_xml_parser *parser, struct dom_node *parent,
return;
}
- /* No int32_ter need data */
+ /* No longer need data */
dom_string_unref(data);
/* Append text node to parent */
@@ -960,7 +960,7 @@ void xml_parser_add_text_node(dom_xml_parser *parser, struct dom_node *parent,
return;
}
- /* No int32_ter interested in text node */
+ /* No longer interested in text node */
dom_node_unref((struct dom_node *) text);
}
@@ -996,7 +996,7 @@ void xml_parser_add_cdata_section(dom_xml_parser *parser,
return;
}
- /* No int32_ter need data */
+ /* No longer need data */
dom_string_unref(data);
/* Append cdata section to parent */
@@ -1021,7 +1021,7 @@ void xml_parser_add_cdata_section(dom_xml_parser *parser,
return;
}
- /* No int32_ter interested in cdata section */
+ /* No longer interested in cdata section */
dom_node_unref((struct dom_node *) cdata);
}
@@ -1059,7 +1059,7 @@ void xml_parser_add_entity_reference(dom_xml_parser *parser,
return;
}
- /* No int32_ter need name */
+ /* No longer need name */
dom_string_unref(name);
/* Mirror subtree (reference value) */
@@ -1089,7 +1089,7 @@ void xml_parser_add_entity_reference(dom_xml_parser *parser,
return;
}
- /* No int32_ter interested in entity reference */
+ /* No longer interested in entity reference */
dom_node_unref((struct dom_node *) entity);
}
@@ -1133,7 +1133,7 @@ void xml_parser_add_comment(dom_xml_parser *parser, struct dom_node *parent,
return;
}
- /* No int32_ter need data */
+ /* No longer need data */
dom_string_unref(data);
/* Append comment to parent */
@@ -1158,7 +1158,7 @@ void xml_parser_add_comment(dom_xml_parser *parser, struct dom_node *parent,
return;
}
- /* No int32_ter interested in comment */
+ /* No longer interested in comment */
dom_node_unref((struct dom_node *) comment);
}
@@ -1220,7 +1220,7 @@ void xml_parser_add_document_type(dom_xml_parser *parser,
return;
}
- /* No int32_ter interested in doctype */
+ /* No longer interested in doctype */
dom_node_unref((struct dom_node *) doctype);
}
diff --git a/include/dom/core/exceptions.h b/include/dom/core/exceptions.h
index 67160d1..04c7f18 100644
--- a/include/dom/core/exceptions.h
+++ b/include/dom/core/exceptions.h
@@ -12,7 +12,7 @@
* Class of a DOM exception.
*
* The top 16 bits of a dom_exception are a bitfield
- * indicating which class the exception beint32_ts to.
+ * indicating which class the exception belongs to.
*/
typedef enum {
DOM_EXCEPTION_CLASS_NORMAL = 0,
diff --git a/src/core/element.c b/src/core/element.c
index df40eaf..cbdb6e1 100644
--- a/src/core/element.c
+++ b/src/core/element.c
@@ -739,7 +739,7 @@ dom_exception _dom_element_get_attribute_node(struct dom_element *element,
* \param attr The attribute node to add
* \param result Pointer to location to receive previous node
* \return DOM_NO_ERR on success,
- * DOM_WRONG_DOCUMENT_ERR if ::attr does not beint32_t to the
+ * DOM_WRONG_DOCUMENT_ERR if ::attr does not belong to the
* same document as ::element,
* DOM_NO_MODIFICATION_ALLOWED_ERR if ::element is readonly,
* DOM_INUSE_ATTRIBUTE_ERR if ::attr is already an attribute
@@ -944,7 +944,7 @@ dom_exception _dom_element_get_attribute_node_ns(struct dom_element *element,
* \param attr The attribute node to add
* \param result Pointer to location to recieve previous node
* \return DOM_NO_ERR on success,
- * DOM_WRONG_DOCUMENT_ERR if ::attr does not beint32_t to the
+ * DOM_WRONG_DOCUMENT_ERR if ::attr does not belong to the
* same document as ::element,
* DOM_NO_MODIFICATION_ALLOWED_ERR if ::element is readonly,
* DOM_INUSE_ATTRIBUTE_ERR if ::attr is already an attribute
@@ -1843,7 +1843,7 @@ dom_exception _dom_element_get_attr_node(struct dom_element *element,
* \param attr The attribute node to add
* \param result Pointer to location to receive previous node
* \return DOM_NO_ERR on success,
- * DOM_WRONG_DOCUMENT_ERR if ::attr does not beint32_t to the
+ * DOM_WRONG_DOCUMENT_ERR if ::attr does not belong to the
* same document as ::element,
* DOM_NO_MODIFICATION_ALLOWED_ERR if ::element is readonly,
* DOM_INUSE_ATTRIBUTE_ERR if ::attr is already an attribute
@@ -1869,7 +1869,7 @@ dom_exception _dom_element_set_attr_node(struct dom_element *element,
/** \todo validate name */
- /* Ensure element and attribute beint32_t to the same document */
+ /* Ensure element and attribute belong to the same document */
if (e->owner != attr_node->owner)
return DOM_WRONG_DOCUMENT_ERR;
diff --git a/src/core/node.c b/src/core/node.c
index b14f4fa..ca8fd72 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -167,7 +167,7 @@ dom_exception _dom_node_initialise(dom_node_internal *node,
node->previous = NULL;
node->next = NULL;
- /* Note: nodes do not reference the document to which they beint32_t,
+ /* Note: nodes do not reference the document to which they belong,
* as this would result in the document never being destroyed once
* the client has finished with it. The document will be aware of
* any nodes that it owns through 2 mechanisms:
@@ -783,7 +783,7 @@ dom_exception _dom_node_insert_before(dom_node_internal *node,
* also need to set its owner. */
if (node->type == DOM_DOCUMENT_NODE &&
new_child->type == DOM_DOCUMENT_TYPE_NODE) {
- /* See int32_t comment in _dom_node_initialise as to why
+ /* See long comment in _dom_node_initialise as to why
* we don't ref the document here */
new_child->owner = (struct dom_document *) node;
}
@@ -1277,7 +1277,7 @@ dom_exception _dom_node_set_prefix(dom_node_internal *node,
return DOM_NO_MODIFICATION_ALLOWED_ERR;
}
- /* No int32_ter want existing prefix */
+ /* No longer want existing prefix */
if (node->prefix != NULL) {
dom_string_unref(node->prefix);
}
diff --git a/src/utils/hashtable.c b/src/utils/hashtable.c
index fb7c84a..db6ece8 100644
--- a/src/utils/hashtable.c
+++ b/src/utils/hashtable.c
@@ -114,7 +114,7 @@ dom_hash_table *_dom_hash_clone(dom_hash_table *ht)
* Destroys a hash table, freeing all memory associated with it.
*
* \param ht Hash table to destroy. After the function returns, this
- * will noint32_ter be valid
+ * will nolonger be valid
*/
void _dom_hash_destroy(dom_hash_table *ht)
{
@@ -305,7 +305,7 @@ uint32_t _dom_hash_get_length(struct dom_hash_table *ht)
* If you make changes to this hash table implementation, please rerun this
* test, and if possible, through valgrind to make sure there are no memory
* leaks or invalid memory accesses. If you add new functionality, please
- * include a test for it that has good coverage aint32_t side the other tests.
+ * include a test for it that has good coverage along side the other tests.
*/
#ifdef TEST_RIG