summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dom/core/attr.h6
-rw-r--r--src/core/attr.c10
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 <dom/core/exceptions.h>
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);