Bug 584453 - Handle char ** correctly (and const variation)
authorColin Walters <walters@verbum.org>
Thu, 4 Jun 2009 17:51:26 +0000 (13:51 -0400)
committerColin Walters <walters@verbum.org>
Tue, 9 Jun 2009 15:49:07 +0000 (11:49 -0400)
commitb23ca1ec2afeed3c5ab914c996c1dd73870ecab6
treea188aacfb0b1ef5b058f07b352ea55b1371ba8de
parent4a5c6543195963d9a09843d9b015dd9db3107798
Bug 584453 - Handle char ** correctly (and const variation)

This patch fixes our default handling of char **.  We add Return
node types as a case where we test for array handling.

Remove the hardcoded assumption of array = "no transfer", just
use the separate Parameter/Return cases.  This change causes
inout char ** to be transfer="full", but that seems more correct.
gir/Everything-1.0-expected.gir
gir/everything.c
gir/everything.h
giscanner/annotationparser.py
giscanner/transformer.py
tests/scanner/annotation-1.0-expected.gir
tests/scanner/annotation-1.0-expected.tgir