Jürg Billeter <[EMAIL PROTECTED]> writes:

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

Ok. Thanks.

One more problem - how to convert a pointer to char *?
I just need to make some pointer arithmetic...

(char *)some_pointer_array[index] do not work

Regards

PS.
I haven't tried 0.3.3 but I updated the vala from trunk today.
-- 
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)

Attachment: pgp16R1bOmQiz.pgp
Description: PGP signature

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

Reply via email to