summaryrefslogtreecommitdiff
path: root/girepository/gitypes.h
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-08-31 17:33:06 -0300
committerJohan Dahlin <johan@gnome.org>2010-08-31 17:35:57 -0300
commit6379b8a497e2bf8c5b09e37ded88c7a28483389d (patch)
treeaf51d195834f33251e1f5dcdcba8c2936f833f28 /girepository/gitypes.h
parent8ebf89911bcf93baea4d5d9e22b0e40d0c43f946 (diff)
downloadgobject-introspection-6379b8a497e2bf8c5b09e37ded88c7a28483389d.tar.gz
[GIRepository] Rename GArgument to GIArgument
Keep a typedef for backwards compatibility, until the major bindings has moved over.
Diffstat (limited to 'girepository/gitypes.h')
-rw-r--r--girepository/gitypes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/girepository/gitypes.h b/girepository/gitypes.h
index eb1c1021..882f00fb 100644
--- a/girepository/gitypes.h
+++ b/girepository/gitypes.h
@@ -187,7 +187,7 @@ typedef union
gsize v_size;
gchar * v_string;
gpointer v_pointer;
-} GArgument;
+} GIArgument;
/**
* GIInfoType:
@@ -438,6 +438,11 @@ typedef enum
GI_FUNCTION_THROWS = 1 << 5
} GIFunctionInfoFlags;
+#ifndef __GI_SCANNER__
+/* backwards compatibility */
+typedef union GIArgument GArgument;
+#endif
+
G_END_DECLS
#endif /* __GITYPES_H__ */