diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2010-05-03 19:17:00 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2010-05-03 19:17:00 +0200 |
commit | 39f2997b9f32598fa2288cdac36f513fcab590b5 (patch) | |
tree | 90e1e308a99d30edf42480e84d6f0a4fbfe6ceb7 /giscanner/annotationparser.py | |
parent | ffc28a47400e06b39e05be4f7e4c8dccef4bd8ea (diff) | |
download | gobject-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 'giscanner/annotationparser.py')
-rw-r--r-- | giscanner/annotationparser.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py index f70bfa45..3480ac78 100644 --- a/giscanner/annotationparser.py +++ b/giscanner/annotationparser.py @@ -605,12 +605,6 @@ class AnnotationApplier(object): has_element_type = OPT_ELEMENT_TYPE in options has_array = OPT_ARRAY in options - if not has_array: - has_array = \ - node.type.name in ['GLib.Array', 'GLib.PtrArray', - 'GLib.ByteArray'] or \ - node.type.ctype in ['GArray*', 'GPtrArray*', 'GByteArray*'] - # FIXME: This is a hack :-( if (not isinstance(node, Field) and (not has_element_type and |