Re: [Vala] Vala libs for other languages

2011-12-24 Thread Antono Vasiljev
On Fri, 2011-12-23 at 12:39 +0100, pancake wrote: > If you want to use vala libs from other languages you can try valabind. > > http://hg.youterm.com/valabind > > i use it in my project "radare" to generate bindings for swig (py,pl, > guile, ..), gir (wip) and others. Looks interesting. As far

Re: [Vala] Vala libs for other languages

2011-12-23 Thread Denis Kuzmenok
I've got it working, but on trying to use Classes in python/perl i get segfault (ValaObject -> ValaClass from example). Seems something with GIntrospection? > On Fri, 2011-12-23 at 09:24 +0200, Denis Kuzmenok wrote: >> Can you show example of using those bindings? I can't get it how that >> wor

Re: [Vala] Vala libs for other languages

2011-12-23 Thread pancake
are you calling g_type_init() ? If you want to use vala libs from other languages you can try valabind. http://hg.youterm.com/valabind i use it in my project "radare" to generate bindings for swig (py,pl, guile, ..), gir (wip) and others. It's far from perfect, but if anyone is interested i

Re: [Vala] Vala libs for other languages

2011-12-23 Thread Denis Kuzmenok
Can't make perl example working with classes, functions run fine, but classes cause segfaults :( > Hello, All. > I've created simple example of vala -> %language% bindings via GObject > Introspection Repository. > Git repository at github: > https://github.com/antono/vala-object > I think suc

Re: [Vala] Vala libs for other languages

2011-12-22 Thread Denis Kuzmenok
Can you show example of using those bindings? I can't get it how that works =\ Thanks > Hello, All. > I've created simple example of vala -> %language% bindings via GObject > Introspection Repository. > Git repository at github: > https://github.com/antono/vala-object > I think such things sho

[Vala] Vala libs for other languages

2011-12-22 Thread Antono Vasiljev
Hello, All. I've created simple example of vala -> %language% bindings via GObject Introspection Repository. Git repository at github: https://github.com/antono/vala-object I think such things should make vala and gobject more attractive for ppl outside GNOME community. Feel free to add example