GNOME Bugzilla – Bug 681356
Support [HasEmitter] for vala sources
Last modified: 2016-10-12 20:27:56 UTC
Adding [HasEmitter] to a signal has no effect on either the generated C or the GIR. Test case: [CCode (gir_namespace = "Foo", gir_version = "1.0")] namespace Foo { public class Bar : GLib.Object { [HasEmitter] public signal void baz (); } }
Created attachment 337463 [details] [review] Support HasEmitter for vala sources Based on the proposed patch for bug 641828.
Review of attachment 337463 [details] [review]: Thank! Although, this generates invalid ccode and "make check" fails.
Review of attachment 337463 [details] [review]: Sorry, I misread the required bug reference.
commit e1ed6ce78bfef1f7d71fd26c4523fc6c8c431bc5 Author: Simon Werbeck <simon.werbeck@gmail.com> Date: Wed Oct 5 19:01:58 2016 +0200 Support [HasEmitter] for vala sources