On Thu, 2010-07-15 at 19:26 -0400, Ron Murawski wrote:
> >
> I wanted the multi-dimensional array in the data area, not on the
> stack.
>
> In C:
>
> int my_array[64][13];
>
> int main(int argc, **char argv)
> {
> my_array[7][7] = 7;
> // more stuff
> return 0;
> }
my_array is allocated on the stack in the above example
the previous posts have shown how to do it on the heap (via use of "new
array") but as thats not what you want I would suggest filing a
bug/feature request for vala to support stack allocation of
multi-dimensional arrays
jamie
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list