[Vala] Declare an 'in-place' array?
- From: Feng Yu <rainwoodman gmail com>
- To: Vala-list <vala-list gnome org>
- Subject: [Vala] Declare an 'in-place' array?
- Date: Mon, 30 Mar 2009 17:09:33 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]