Re: [Vala] Resizable array in Vala



On Tue, 2008-06-03 at 23:22 +0200, Maciej Piechotka wrote:
Is it possible to create an array one can resize (similar to realloc).
It will be often accessed and rary resized but I need this fuction.

Vala supports that using the resize() method. Check the set_capacity
method in gee/arraylist.vala to see an example.

Jürg





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