GNOME Bugzilla – Bug 602712
Add support for functions with multiple delegate parameters and only one data parameter
Last modified: 2018-05-22 13:25:53 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.
-- 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.