]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Support anonymous definitions of delegates in bindings e9214a7c1a433f679de43861946d24e98af80d82
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 10 Apr 2018 16:16:37 +0000 (18:16 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 14 Apr 2018 08:26:06 +0000 (10:26 +0200)
commite9214a7c1a433f679de43861946d24e98af80d82
tree92ae21a26f21eb8b8c27f65fcd23f8c96a92e29d
parent8b01601c777c9b3adf382c6cbd63c239d05b6c84
vala: Support anonymous definitions of delegates in bindings

If a library header does not include a defintion for a delegate then
bindings can use the CCode annotation "has_typedef = false" which will
force creation of typedef in generated source-file.

[CCode (has_typedef = false)]
public delegate void Func ();

https://bugzilla.gnome.org/show_bug.cgi?id=794920
codegen/valaccodebasemodule.vala
vala/valaparser.vala
vala/valasymbol.vala
vala/valausedattr.vala