]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Real structs are allowed by simple generics and passed as reference
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 8 Jul 2019 17:11:19 +0000 (19:11 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 8 Jul 2019 17:55:18 +0000 (19:55 +0200)
commite2c653fa317eb9b7757b44a50e384504addfcf62
tree00a64628ea379b47ec2c56778e66083f9e25e434
parent39ef848029b261e8cb347d7fe6b8f268234ac41a
codegen: Real structs are allowed by simple generics and passed as reference

Add the required pointer-indirections to fix invalid memory accesses.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/819
codegen/valaccodemethodcallmodule.vala
tests/Makefile.am
tests/methods/varargs-gvalue.vala
tests/methods/varargs-struct.vala [new file with mode: 0644]