]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Fix GDestroyNotify of delegate parameters in delegate declaration
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 6 Feb 2018 16:52:55 +0000 (17:52 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 9 Feb 2018 07:08:17 +0000 (08:08 +0100)
commit0c25c3c05540bd8536704f93c01c883b7a447b2c
tree85e30f5f5946e4518b8f8aed1501330df27dcef5
parent7a6fdb04c1d0ddfa8bb962d9341650a41786a077
codegen: Fix GDestroyNotify of delegate parameters in delegate declaration

delegate void Func (owned Func func);

incompatible pointer type: expected ‘void (**)(void *)’ but argument is
of type ‘GDestroyNotify {aka void (*)(void *)}’

https://bugzilla.gnome.org/show_bug.cgi?id=639059
codegen/valaccodedelegatemodule.vala