[Vala] GObject class arrays



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);



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