summaryrefslogtreecommitdiff
path: root/giscanner/transformer.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/transformer.py')
-rw-r--r--giscanner/transformer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/transformer.py b/giscanner/transformer.py
index f9807eab..bba44f7d 100644
--- a/giscanner/transformer.py
+++ b/giscanner/transformer.py
@@ -462,7 +462,8 @@ class Transformer(object):
rettype = Map(derefed_name,
ctype,
key_type, value_type)
- elif ((is_param and canonical_ctype in default_array_types)
+ elif ((is_param and canonical_ctype in default_array_types
+ and not 'out' in options)
or ('array' in options)):
if canonical_ctype[-1] == '*':
derefed_name = canonical_ctype[:-1]