In progress...

This commit is contained in:
Kolan Sh 2014-06-30 15:51:58 +04:00
parent 8665b5297c
commit 9484352886
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
void main () {
var list = new Gee.ArrayList<string> ();
list.add ("1");
list.add ("2");
list.add ("3");
var it = list.bidir_list_iterator ();
for (var has_next = it.first (); has_next; has_next = it.next ()) {
var next = list.bidir_list_iterator ();
next = it;
next.next ();
stdout.printf ("list[%d] = %s, ", it.index (), it.get ());
}
stdout.printf ("\n");
}