diff options
author | Colin Walters <walters@verbum.org> | 2010-07-21 21:06:17 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-08-31 16:05:56 -0400 |
commit | e66d50732c8ce5cf3ef198e114d94e102a1c4911 (patch) | |
tree | 11136782cda96b23479e388197bcf58736842e2d /giscanner/annotationparser.py | |
parent | abc4e514ff46ed77159b19f56dea54eeef8bc909 (diff) | |
download | gobject-introspection-e66d50732c8ce5cf3ef198e114d94e102a1c4911.tar.gz |
Use GLib types consistently
Rather than have the scanner/parser handle both e.g. "glong" and
"long", simply use the GLib types everywhere.
This commit adds TYPE_LONG_LONG and TYPE_LONG_DOUBLE to the
scanner types; however, rather than add them to the typelib,
they're just marked as not-introspectable.
Diffstat (limited to 'giscanner/annotationparser.py')
-rw-r--r-- | giscanner/annotationparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py index c642d56e..9e4340fa 100644 --- a/giscanner/annotationparser.py +++ b/giscanner/annotationparser.py @@ -783,7 +783,7 @@ class AnnotationApplier(object): self._guess_direction(node) == PARAM_DIRECTION_IN and element_type is None): # FIXME: unsigned char/guchar should be uint8 - container_type.element_type = Type('int8') + container_type.element_type = Type('gint8') container_type.size = array_values.get(OPT_ARRAY_FIXED_SIZE) return container_type |