Dear list,

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'.

as a constrast, vala by default compiles code into
struct A {
  int * c;
}
int main() {
  int * a;
}

Regards,

Yu
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to