Re: [Vala] GObject class arrays



On Die, 2007-01-23 at 19:37 +0100, Daniel Borgmann wrote:
As discussed on IRC, defining an array of GObject classes like this:
private Foo[] bar = new Foo[10];
doesn't work because the resulting C code is missing a *:
self->priv->bar = g_new0 (Foo, 10);

Fixed in SVN now.

Jürg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]