After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639124 - Add Callable interface for Method/Delegate/Signal
Add Callable interface for Method/Delegate/Signal
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-10 09:14 UTC by Luca Bruno
Modified: 2016-10-11 15:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add common Callable interface for Method, Delegate and Signal. (3.31 KB, patch)
2011-01-10 09:32 UTC, Luca Bruno
none Details | Review

Description Luca Bruno 2011-01-10 09:14:04 UTC
Hello,
I'd like to suggest a Callable interface with get_parameters() and get_return_type() to be implemented in Method/Delegate/Signal.
Many times it happen to process these symbols with the same code and parameters/return are the same for all of these three symbols.
Comment 1 Luca Bruno 2011-01-10 09:32:38 UTC
Created attachment 177914 [details] [review]
Add common Callable interface for Method, Delegate and Signal.

Fixes bug 639124.
Comment 2 Rico Tzschichholz 2016-10-11 15:38:33 UTC
commit c68490abe583e68766c20ed41dbd0fb875a8dcdf
Author: Luca Bruno <lucabru@src.gnome.org>
Date:   Mon Jan 10 10:31:19 2011 +0100

    vala: Add common Callable interface for Method, Delegate and Signal.