]> git.ipfire.org Git - thirdparty/vala.git/commit
Support "emit" for explicit signal emission
authorLorenz Wildberg <lorenz@wild-fisch.de>
Sat, 4 Dec 2021 19:05:42 +0000 (19:05 +0000)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 4 Jan 2022 13:51:37 +0000 (14:51 +0100)
commitd74400bfaae61a1e2c246382e627b0a9adf8c304
treeca0ae596870df270819adcfbcac35b9d83585280
parentde1682099945edfd8d23958cf45186aecbd0015e
Support "emit" for explicit signal emission

If "foo" is a signal then "foo.emit (...);" is allowed now additionally to
"foo (...);". This is required to emit dynamic signals.
codegen/valaccodemethodcallmodule.vala
codegen/valagsignalmodule.vala
tests/Makefile.am
tests/objects/signals-dynamic-emit.c-expected [new file with mode: 0644]
tests/objects/signals-dynamic-emit.vala [new file with mode: 0644]
tests/objects/signals-emit.c-expected [new file with mode: 0644]
tests/objects/signals-emit.vala [new file with mode: 0644]
vala/valamemberaccess.vala
vala/valasignaltype.vala