summaryrefslogtreecommitdiff
path: root/girepository/girnode.c
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2010-04-30 18:15:23 +0200
committerTomeu Vizoso <tomeu@sugarlabs.org>2010-04-30 18:15:23 +0200
commit87291e08b0fd34b62e1ad9811c174108b38311a9 (patch)
tree1932336ef4767a30c57e0c8a4b6513d8f6888ccc /girepository/girnode.c
parent72f63c149132056655840e00c53119802f72a8bf (diff)
downloadgobject-introspection-87291e08b0fd34b62e1ad9811c174108b38311a9.tar.gz
Add support for GArrays: add g_type_info_get_array_type() and properly scan GArray args
Based on a previous patch by C. Scott Ananian <cscott@litl.com> https://bugzilla.gnome.org/show_bug.cgi?id=581687
Diffstat (limited to 'girepository/girnode.c')
-rw-r--r--girepository/girnode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/girepository/girnode.c b/girepository/girnode.c
index 1694406d..6f4a44af 100644
--- a/girepository/girnode.c
+++ b/girepository/girnode.c
@@ -1497,6 +1497,7 @@ g_ir_node_build_typelib (GIrNode *node,
array->zero_terminated = type->zero_terminated;
array->has_length = type->has_length;
array->has_size = type->has_size;
+ array->array_type = type->array_type;
array->reserved2 = 0;
if (array->has_length)
array->dimensions.length = type->length;