Re: [Vala] trunk broken?

2009-04-03 Thread Feng Yu
But there are bunch of GBoxed derived types in glib.vapi. And on 0.6.0 the code compiles just fine. Is it possible to declare a weak reference to a struct? At least in 0.6.0 I can't assign a null to a weak reference to a struct. But it is possible to do so with a GBoxed derived class. Yu On Fri

Re: [Vala] trunk broken?

2009-04-03 Thread Leonti Bielski
This worked. Thanks! Leonti On Fri, Apr 3, 2009 at 10:58 AM, Jürg Billeter wrote: > On Wed, 2009-04-01 at 18:14 +0200, Leonti Bielski wrote: >> So I'm not the only one :) >> I have similar errors with structs too: >> >> http://pastebin.com/m4693867a >> >> I'm using Enlightenment Elementary bindi

Re: [Vala] trunk broken?

2009-04-03 Thread Jürg Billeter
On Wed, 2009-04-01 at 18:14 +0200, Leonti Bielski wrote: > So I'm not the only one :) > I have similar errors with structs too: > > http://pastebin.com/m4693867a > > I'm using Enlightenment Elementary bindings for Vala. This is an unrelated issue. You have to use the new [CCode (delegat

Re: [Vala] trunk broken?

2009-04-03 Thread Jürg Billeter
On Wed, 2009-04-01 at 11:07 -0400, Feng Yu wrote: > I am working on a fix for struct member method as a delegate. But the > test code entirely fails to compile with lots of gcc errors. I notice > that the types are now declared in both of .h and .c files. and those > in .c files are incomplete. Y

Re: [Vala] trunk broken?

2009-04-01 Thread Leonti Bielski
So I'm not the only one :) I have similar errors with structs too: http://pastebin.com/m4693867a I'm using Enlightenment Elementary bindings for Vala. Leonti 2009/4/1 Feng Yu : > Dear List, > > Is the trunk broken? > > I am working on a fix for struct member method as a delegate. But the test >

[Vala] trunk broken?

2009-04-01 Thread Feng Yu
Dear List, Is the trunk broken? I am working on a fix for struct member method as a delegate. But the test code entirely fails to compile with lots of gcc errors. I notice that the types are now declared in both of .h and .c files. and those in .c files are incomplete. - /home/fengyu/Projec