[Vala] vapigen changing delegate names
- From: Gabe Gorelick-Feldman <gabegorelick gmail com>
- To: vala-list gnome org
- Subject: [Vala] vapigen changing delegate names
- Date: Fri, 12 Feb 2010 23:51:08 -0500
Changing the name of a callback/delegate in vapigen seems broken. Using
delegate_name name="new_name" in the metadata file does change the vala name
of the delegate, but it does not correct the cname. With other types,
changing the vala name causes it to annotate it with [CCode
(cname="old_name")], but this doesn't seem to be happening with delegates.
This means you can't really change the names of delegates, since your code
will break when compiled to C.
Is this just a bug or is this expected behavior, and is there any way to get
] [Thread Prev