diff options
Diffstat (limited to 'girepository/gitypeinfo.h')
-rw-r--r-- | girepository/gitypeinfo.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/girepository/gitypeinfo.h b/girepository/gitypeinfo.h index ef834b12..7591799a 100644 --- a/girepository/gitypeinfo.h +++ b/girepository/gitypeinfo.h @@ -31,9 +31,21 @@ G_BEGIN_DECLS +/** + * GI_IS_TYPE_INFO + * @info: an info structure + * + * Checks if @info is a #GITypeInfo. + */ #define GI_IS_TYPE_INFO(info) \ (g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_TYPE) +/** + * G_TYPE_TAG_IS_BASIC + * @tag: a type tag + * + * Checks if @tag is a basic type. + */ #define G_TYPE_TAG_IS_BASIC(tag) (tag < GI_TYPE_TAG_ARRAY || tag == GI_TYPE_TAG_UNICHAR) const gchar* g_type_tag_to_string (GITypeTag type); |