summaryrefslogtreecommitdiff
path: root/girepository
diff options
context:
space:
mode:
Diffstat (limited to 'girepository')
-rw-r--r--girepository/gitypes.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/girepository/gitypes.h b/girepository/gitypes.h
index 88181b28..a0f3b375 100644
--- a/girepository/gitypes.h
+++ b/girepository/gitypes.h
@@ -158,7 +158,12 @@ typedef GIBaseInfo GITypeInfo;
*/
typedef struct _GIUnresolvedInfo GIUnresolvedInfo;
-union _GIArgument
+/**
+ * GIArgument:
+ *
+ * Stores an argument of varying type
+ */
+typedef union
{
gboolean v_boolean;
gint8 v_int8;
@@ -181,8 +186,7 @@ union _GIArgument
gsize v_size;
gchar * v_string;
gpointer v_pointer;
-};
-typedef union _GIArgument GIArgument;
+} GIArgument;
/**
* GIInfoType: