diff options
author | Owen Taylor <otaylor@src.gnome.org> | 2008-12-16 04:20:50 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2008-12-16 04:20:50 +0000 |
commit | aa8bf8d82c96d7151017c8b7e721fb4454645597 (patch) | |
tree | 0e0214a1cc0a8832cd8afd8696a934f405328fdb /ChangeLog | |
parent | 6ae11e8edbd5ca6783fb6166b2b921fac06ebdc3 (diff) | |
download | gobject-introspection-aa8bf8d82c96d7151017c8b7e721fb4454645597.tar.gz |
Disable array auto-detection for out-annotated parameters
If we have a parameter annotated as (out), then having a ctype of
'char **' (or similar) doesn't necessarily indicate an array.
* giscanner/transformer.py: Skip array-detection logic for
(out)-annotated parameters.
* tests/scanner/annotation.h tests/scanner/annotation.c
tests/scanner/annotation-1.0-expected.gir
tests/scanner/annotation-1.0-expected.tgir: Add a test for
an (out) string parameter.
http://bugzilla.gnome.org/show_bug.cgi?id=563934
svn path=/trunk/; revision=994
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2008-12-12 Owen Taylor <otaylor@redhat.com> + + Disable array auto-detection for out-annotated parameters (#563934) + + If we have a parameter annotated as (out), then having a ctype of + 'char **' (or similar) doesn't necessarily indicate an array. + + * giscanner/transformer.py: Skip array-detection logic for + (out)-annotated parameters. + * tests/scanner/annotation.h tests/scanner/annotation.c + tests/scanner/annotation-1.0-expected.gir + tests/scanner/annotation-1.0-expected.tgir: Add a test for + an (out) string parameter. + 2008-12-12 Johan Dahlin <jdahlin@async.com.br> * giscanner/dumper.py (DumpCompiler._link): Pass in |