Re: [Vala] Resizable array in Vala
- From: Jürg Billeter <j bitron ch>
- To: Maciej Piechotka <uzytkownik2 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Resizable array in Vala
- Date: Tue, 03 Jun 2008 23:28:10 +0200
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]