diff options
author | Colin Walters <walters@verbum.org> | 2010-09-01 15:54:52 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-09-01 15:54:52 -0400 |
commit | fb6979ec7555bba02ebf80cb8756ae274759ac8e (patch) | |
tree | 3dbe29c7fb024ddb83d951a13abd35979a5ca34b /girepository | |
parent | d564c3b1d6fc48c99bfba57d2c0d567daf9f8a8f (diff) |
girepository: Fix compatibility typedefs
Diffstat (limited to 'girepository')
-rw-r--r-- | girepository/gitypes.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/girepository/gitypes.h b/girepository/gitypes.h index 2c19c6c..a356800 100644 --- a/girepository/gitypes.h +++ b/girepository/gitypes.h @@ -164,7 +164,7 @@ typedef GIBaseInfo GIErrorDomainInfo; */ typedef struct _GIUnresolvedInfo GIUnresolvedInfo; -typedef union +union _GIArgument { gboolean v_boolean; gint8 v_int8; @@ -187,7 +187,8 @@ typedef union gsize v_size; gchar * v_string; gpointer v_pointer; -} GIArgument; +}; +typedef union _GIArgument GIArgument; /** * GIInfoType: @@ -440,8 +441,8 @@ typedef enum #ifndef __GI_SCANNER__ /* backwards compatibility */ -typedef union GIArgument GArgument; -typedef union GITypelib GTypelib; +typedef union _GIArgument GArgument; +typedef struct _GITypelib GTypelib; #endif G_END_DECLS |