[Vala] Properly wrapping callbacks

2009-01-25 Thread Michael 'Mickey' Lauer
Hi, I'm working on my first binding for a non-gobject library -- please see gsm0710_p.h. My current vapi is also attached. I'm struggling with setting the callback pointers now. How should the callbacks in my .vala object be defined so that I can set them via e.g. var ctx = new Context();

Re: [Vala] Reference counting

2009-01-25 Thread Thomas Chust
Кутейников Дмитрий wrote: > How does Vala count references for arrays and strings? They are not > subclasses of GLib.Object and don't contain any special fields. Hello, I think Vala doesn't perform reference counting for things like strings, arrays and structures at all. You have three options ha

[Vala] Obama -- The Judas Goat

2009-01-25 Thread Lawrence Auster
Obama -- The Judas Goat 1/25/2009 By David Duke Judas Goat\ A goat that leads other goats or sheep to slaughter. Also, one who entices into danger and betrays others. The name is an allusion to Judas Iscariot, who betrayed Jesus for 30 pieces of slaughter. (From Merriam Webster’s Dictionary) B

Re: [Vala] Reference counting

2009-01-25 Thread Maciej Piechotka
Кутейников Дмитрий writes: >How does Vala count references for arrays and strings? They are not >subclasses of GLib.Object and don't contain any special fields. > Well - probably it does not (aren't thay required to have ownership transfered?). You can browse the source using -C switch

[Vala] Reference counting

2009-01-25 Thread Кутейников Дмитрий
How does Vala count references for arrays and strings? They are not subclasses of GLib.Object and don't contain any special fields. ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list