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 602712 - Add support for functions with multiple delegate parameters and only one data parameter
Add support for functions with multiple delegate parameters and only one data...
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Delegates
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks: 648027
 
 
Reported: 2009-11-23 11:12 UTC by Julian Andres Klode
Modified: 2018-05-22 13:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julian Andres Klode 2009-11-23 11:12:43 UTC
libarchive has functions like
"int archive_read_open(struct archive *, void *_client_data, archive_open_callback *, archive_read_callback *, archive_close_callback *);".


which is bound as
	public Result open (
		[CCode (delegate_target_pos = 0.9)] OpenCallback ocb,
		[CCode (delegate_target_pos = 0.9)] ReadCallback rcb,
		[CCode (delegate_target_pos = 0.9)] CloseCallback ccb
	);

But this only works if all delegate parameters have the same state; because Vala will pass the data for the latest callback.
Comment 1 GNOME Infrastructure Team 2018-05-22 13:25:53 UTC
-- 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/59.