summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Knowles <alan@akbkhome.com>2012-06-28 12:07:35 -0400
committerColin Walters <walters@verbum.org>2012-06-28 12:07:35 -0400
commite496260d95c8a7ec680b73afbc1581afc1a91857 (patch)
tree14dce912f981d5e48f371f45633375825b9550e1
parente4879c84a121cb2046fb64d30ca90f136802d90f (diff)
downloadgobject-introspection-e496260d95c8a7ec680b73afbc1581afc1a91857.tar.gz
fix GIArgument being exported as _Argument in .gir
https://bugzilla.gnome.org/show_bug.cgi?id=635128
-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: