Re: [Vala] Vapi help

2012-01-11 Thread Axel FILMORE
Attached files are an example I have done, I use the vala-gen-introspect method : https://live.gnome.org/Vala/Bindings/GI Then I modifed the generated file, I had to tweak the cname and cprefix values in order that it works. Well I'm not an expert I don't know if it's really correct, but it

Re: [Vala] Vapi help

2012-01-11 Thread Andrew Higginson
On 10/01/12 22:52, Denis Kuzmenok wrote: Hi. I need some help with vapi file. I'm making vapi for C non-Glib library. There are structs, i write them into vapi, as namespace AC - struct AC_Automata And i'm getting errors: undefined reference to `ac_ac_automata_destroy' But

Re: [Vala] Vapi help..

2009-10-25 Thread Shawn Ferris
On Sat, 2009-10-24 at 22:23 -0600, Shawn Ferris wrote: On Sat, 2009-10-24 at 15:59 +0100, Abderrahim Kitouni wrote: Short answer : I think GLib.Value? should do the trick. (and from reading the doc, I think it should also be unowned). That did the trick. I couldn't use unowned however.

Re: [Vala] Vapi help..

2009-10-24 Thread Jan Hudec
On Fri, Oct 23, 2009 at 09:59:06 -0600, Shawn Ferris wrote: Hi All -- I've been trying to troubleshoot a problem with the libgda vapi and I just can't figure out where it's coming from.. decided it was time to ask. I'm sure this is something stupid, but I can't find it. The vapi has this:

Re: [Vala] Vapi help..

2009-10-24 Thread Abderrahim Kitouni
Hi, 2009/10/23 Shawn Ferris shawn.fer...@gmail.com: Hi All -- I've been trying to troubleshoot a problem with the libgda vapi and I just can't figure out where it's coming from.. decided it was time to ask. I'm sure this is something stupid, but I can't find it. The vapi has this:    

Re: [Vala] Vapi help..

2009-10-24 Thread Shawn Ferris
On Sat, 2009-10-24 at 15:59 +0100, Abderrahim Kitouni wrote: Short answer : I think GLib.Value? should do the trick. (and from reading the doc, I think it should also be unowned). That did the trick. I couldn't use unowned however. Making it unowned got rid of the extra arg, but also threw away

[Vala] Vapi help..

2009-10-23 Thread Shawn Ferris
Hi All -- I've been trying to troubleshoot a problem with the libgda vapi and I just can't figure out where it's coming from.. decided it was time to ask. I'm sure this is something stupid, but I can't find it. The vapi has this: public GLib.Value get_value_at (int col, int row) throws