Re: [Vala] Declare an 'in-place' array?



On Mon, 2009-03-30 at 17:09 -0400, Feng Yu wrote:
Is there a way to declare an 'in-place' array?
By 'in-place' I mean an array allocated on the stack or within the struct.

struct A {
  int c[10];
}
int main() {
   int a[10];
}

c and a are 'in-place'.

This is not supported yet but planned[1] for a future version.

Jürg

[1] http://bugzilla.gnome.org/show_bug.cgi?id=492481




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