summaryrefslogtreecommitdiff
path: root/girepository/ginfo.c
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2010-05-03 19:17:00 +0200
committerTomeu Vizoso <tomeu@sugarlabs.org>2010-05-03 19:17:00 +0200
commit39f2997b9f32598fa2288cdac36f513fcab590b5 (patch)
tree90e1e308a99d30edf42480e84d6f0a4fbfe6ceb7 /girepository/ginfo.c
parentffc28a47400e06b39e05be4f7e4c8dccef4bd8ea (diff)
downloadgobject-introspection-39f2997b9f32598fa2288cdac36f513fcab590b5.tar.gz
Revert "Add support for GArrays: add g_type_info_get_array_type() and properly scan GArray args"
This reverts commit 87291e08b0fd34b62e1ad9811c174108b38311a9.
Diffstat (limited to 'girepository/ginfo.c')
-rw-r--r--girepository/ginfo.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/girepository/ginfo.c b/girepository/ginfo.c
index 1d56a22a..724109fe 100644
--- a/girepository/ginfo.c
+++ b/girepository/ginfo.c
@@ -1093,23 +1093,6 @@ g_type_info_is_zero_terminated (GITypeInfo *info)
return FALSE;
}
-GIArrayType
-g_type_info_get_array_type (GITypeInfo *info)
-{
- GIRealInfo *rinfo = (GIRealInfo *)info;
- SimpleTypeBlob *type = (SimpleTypeBlob *)&rinfo->typelib->data[rinfo->offset];
-
- if (!(type->flags.reserved == 0 && type->flags.reserved2 == 0))
- {
- ArrayTypeBlob *blob = (ArrayTypeBlob *)&rinfo->typelib->data[rinfo->offset];
- g_return_val_if_fail (blob->tag == GI_TYPE_TAG_ARRAY, -1);
-
- return blob->array_type;
- }
-
- return -1;
-}
-
gint
g_type_info_get_n_error_domains (GITypeInfo *info)
{