summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-29 00:27:01 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-29 00:27:01 +0000
commit4a1662140861e199522462f2451d84d5032a97f0 (patch)
tree697a7ed9f4dfb1a2bfec3f190836b3d628ea9ed1
parente770e9f319a513d5fa2838629fe26c077df45df8 (diff)
downloadlibdom-4a1662140861e199522462f2451d84d5032a97f0.tar.gz
libdom-4a1662140861e199522462f2451d84d5032a97f0.tar.bz2
Comment fixes
svn path=/trunk/dom/; revision=3470
-rw-r--r--bindings/xml/xmlbinding.c8
-rw-r--r--include/dom/bootstrap/implpriv.h6
-rw-r--r--src/core/implementation.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/bindings/xml/xmlbinding.c b/bindings/xml/xmlbinding.c
index 3e1460f..3f3bcc9 100644
--- a/bindings/xml/xmlbinding.c
+++ b/bindings/xml/xmlbinding.c
@@ -13,7 +13,7 @@
#include "utils.h"
static dom_exception xml_dom_get_dom_implementation(
- struct dom_string *features,
+ struct dom_string *features,
struct dom_implementation **impl, dom_alloc alloc, void *pw);
static dom_exception xml_dom_get_dom_implementation_list(
struct dom_string *features,
@@ -86,7 +86,7 @@ static struct dom_implementation xml_dom_impl = {
* once it has finished with it.
*/
dom_exception xml_dom_get_dom_implementation(
- struct dom_string *features,
+ struct dom_string *features,
struct dom_implementation **impl, dom_alloc alloc, void *pw)
{
UNUSED(features);
@@ -258,8 +258,8 @@ dom_exception xml_dom_implementation_create_document_type(
* Any memory allocated by this call should be allocated using
* the provided memory (de)allocation function.
*
- * The doctype will be referenced, so the client need not do this
- * explicitly. The client must unref the doctype once it has
+ * The document will be referenced, so the client need not do this
+ * explicitly. The client must unref the document once it has
* finished with it.
*/
dom_exception xml_dom_implementation_create_document(
diff --git a/include/dom/bootstrap/implpriv.h b/include/dom/bootstrap/implpriv.h
index 00ba9fc..5c6a820 100644
--- a/include/dom/bootstrap/implpriv.h
+++ b/include/dom/bootstrap/implpriv.h
@@ -13,7 +13,7 @@
* include this, as those types are defined here.
*
* The Document implementation includes this as it needs the declaration of
- * dom_document_set_doctype.
+ * dom_document_create and dom_document_set_doctype.
*
* No other client should be including this.
*/
@@ -117,8 +117,8 @@ struct dom_implementation {
* Any memory allocated by this call should be allocated using
* the provided memory (de)allocation function.
*
- * The doctype will be referenced, so the client need not do this
- * explicitly. The client must unref the doctype once it has
+ * The document will be referenced, so the client need not do this
+ * explicitly. The client must unref the document once it has
* finished with it.
*/
dom_exception (*create_document)(struct dom_implementation *impl,
diff --git a/src/core/implementation.c b/src/core/implementation.c
index d9bb0fa..e37b27d 100644
--- a/src/core/implementation.c
+++ b/src/core/implementation.c
@@ -117,8 +117,8 @@ dom_exception dom_implementation_create_document_type(
* Any memory allocated by this call should be allocated using
* the provided memory (de)allocation function.
*
- * The doctype will be referenced, so the client need not do this
- * explicitly. The client must unref the doctype once it has
+ * The document will be referenced, so the client need not do this
+ * explicitly. The client must unref the document once it has
* finished with it.
*/
dom_exception dom_implementation_create_document(