summaryrefslogtreecommitdiff
path: root/girepository/gienuminfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/gienuminfo.h')
-rw-r--r--girepository/gienuminfo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/girepository/gienuminfo.h b/girepository/gienuminfo.h
index 0b9a9e1b..257e4c12 100644
--- a/girepository/gienuminfo.h
+++ b/girepository/gienuminfo.h
@@ -31,10 +31,22 @@
G_BEGIN_DECLS
+/**
+ * GI_IS_ENUM_INFO
+ * @info: an info structure
+ *
+ * Checks if @info is a #GIEnumInfo.
+ */
#define GI_IS_ENUM_INFO(info) \
((g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_ENUM) || \
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FLAGS))
+/**
+ * GI_IS_VALUE_INFO
+ * @info: an info structure
+ *
+ * Checks if @info is a #GIValueInfo.
+ */
#define GI_IS_VALUE_INFO(info) \
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_VALUE)