]> 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, 28 Jan 2024 14:59:11 +0000 (15:59 +0100)
commita35b655f1beae9908b94fa45e2dfaf5ef16b44f7
treede69e9b501a0ec8d06e2d991abd4c2d4dce505f2
parent57f8131e75af9419840ab413d4fbdc14eea3da0c
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