From e91a37cdde6b0a4e19f835d13a3c290a88d6d688 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 11 Jul 2007 01:25:16 +0000 Subject: Fix TypeInfo -> type_info conversion svn path=/trunk/dom/; revision=3399 --- include/dom/core/attr.h | 6 +++--- src/core/attr.c | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/dom/core/attr.h b/include/dom/core/attr.h index 8807686..87adfc6 100644 --- a/include/dom/core/attr.h +++ b/include/dom/core/attr.h @@ -13,7 +13,7 @@ #include struct dom_element; -struct dom_typeinfo; +struct dom_type_info; struct dom_node; struct dom_attr; struct dom_string; @@ -27,8 +27,8 @@ dom_exception dom_attr_set_value(struct dom_attr *attr, struct dom_string *value); dom_exception dom_attr_get_owner(struct dom_attr *attr, struct dom_element **result); -dom_exception dom_attr_get_typeinfo(struct dom_attr *attr, - struct dom_typeinfo **result); +dom_exception dom_attr_get_type_info(struct dom_attr *attr, + struct dom_type_info **result); dom_exception dom_attr_is_id(struct dom_attr *attr, bool *result); #endif diff --git a/src/core/attr.c b/src/core/attr.c index 1a5926b..52fc314 100644 --- a/src/core/attr.c +++ b/src/core/attr.c @@ -13,7 +13,7 @@ #include "utils/utils.h" struct dom_element; -struct dom_typeinfo; +struct dom_type_info; /** * DOM node attribute @@ -26,7 +26,7 @@ struct dom_attr { struct dom_element *owner; /**< Owning element */ - struct dom_typeinfo *schema_type_info; /**< Type information */ + struct dom_type_info *schema_type_info; /**< Type information */ bool is_id; /**< Attribute is of type ID */ }; @@ -132,11 +132,11 @@ dom_exception dom_attr_get_owner(struct dom_attr *attr, * \param result Pointer to location to receive result * \return DOM_NO_ERR. * - * The returned typeinfo will have its reference count increased. The caller + * The returned type info will have its reference count increased. The caller * should unref it once it has finished with it. */ -dom_exception dom_attr_get_typeinfo(struct dom_attr *attr, - struct dom_typeinfo **result) +dom_exception dom_attr_get_type_info(struct dom_attr *attr, + struct dom_type_info **result) { UNUSED(attr); UNUSED(result); -- cgit v1.2.3