]> git.ipfire.org Git - thirdparty/vala.git/commit
girparser: Don't blindly translate utf8 to string and check the ctype too
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 26 Nov 2023 12:23:18 +0000 (13:23 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 26 Nov 2023 14:40:18 +0000 (15:40 +0100)
commitd724d6d96f8e59fe8714a4b2a9cf47b8d04b0161
treef1c9f9c7d364a13bed2a53dd3e331b47bada160f
parentf8ebed0b3449718b6e89def52855c668a88ebcc6
girparser: Don't blindly translate utf8 to string and check the ctype too

This fixes array out-parameters with ctype "char**" and array return values
with ctype "char*".
tests/Makefile.am
tests/gir/method-array-return.gir [new file with mode: 0644]
tests/gir/method-array-return.vapi-expected [new file with mode: 0644]
tests/gir/parameter-array-out.gir [new file with mode: 0644]
tests/gir/parameter-array-out.vapi-expected [new file with mode: 0644]
vala/valagirparser.vala