[Vala] vapigen changing delegate names



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
around this?

Thanks.

-Gabe


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]