GNOME Bugzilla – Bug 632853
Add syntactic sugar for GClosures
Last modified: 2018-05-22 13:46:32 UTC
An easy to use syntax for dealing with GClosures would be very useful. There are currently a couple of places where delegates can't be used; arrays and generic arguments come to mind. The syntax currently used in the vapis ([CCode (name = "GClosure*")] owned DelegateType func) is ugly and, AFAIK, only works for function arguments. Something like GLib.Closure<DelegateType> (suggested in IRC on 2010-10-18 by Jürg) would probably make sense.
*** Bug 659619 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/139.