https://bugs.freedesktop.org/show_bug.cgi?id=93735
Bug ID: 93735
Summary: Missing cname declaration for callback delegates in
Vala VAPI
Product: PulseAudio
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: misc
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Created attachment 121074
--> https://bugs.freedesktop.org/attachment.cgi?id=121074&action=edit
Patch
There're no cname declarations for callback definitions, such as
PulseAudio.Context.SubscribeCb in Vala's VAPI.
It causes problems when you want to pass callback function as a parameter. Vala
compiler tries to guess underlying C type name, and ends up with something like
pa_context_SubscribeCb which is obviously not valid.
The attached patch adds proper definitions, so it works fine.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs