[gobject-introspection] fix GIArgument being exported as _Argument in .gir



commit e496260d95c8a7ec680b73afbc1581afc1a91857
Author: Alan Knowles <alan akbkhome com>
Date:   Thu Jun 28 12:07:35 2012 -0400

    fix GIArgument being exported as _Argument in .gir
    
    https://bugzilla.gnome.org/show_bug.cgi?id=635128

 girepository/gitypes.h |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/girepository/gitypes.h b/girepository/gitypes.h
index 88181b2..a0f3b37 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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]