Re: [Vala] Generated vapi file for a library not compilable.
- From: Axel FILMORE <axel filmore gmail com>
- To: PCMan <pcman tw gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Generated vapi file for a library not compilable.
- Date: Thu, 29 Nov 2012 06:40:55 +0100
On Thu, 29 Nov 2012 13:09:53 +0800
PCMan <pcman tw gmail com> wrote:
Thanks for sharing.
Manually editing the vapi file works for me too, but this is only a
workaround.
After regeneration of vapi files, the changes are gone and need to be
done again.
There must be something wrong in valac or my compiler settings.
We need a way to generate correct vapi files from vala code directly.
So, it seems that it's a bug in valac?
I done like this in the library :
http://bazaar.launchpad.net/~axel-filmore/valadesktop/spanel-lib/view/head:/src/PanelApplet.vala
http://bazaar.launchpad.net/~axel-filmore/valadesktop/spanel-lib/view/head:/vapi/libspanel.vapi
And like this in the application :
http://bazaar.launchpad.net/~axel-filmore/valadesktop/spanel/view/head:/src/Applets/Weather/WeatherApplet.vala
I don't use any namespace for Applets :)
I don't have the technical explanation however.
:P
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]