Re: [Vala] Making a class iterable from VAPI bindings
- From: Luca Bruno <lethalman88 gmail com>
- To: Calvin Walton <calvin walton kepstin ca>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Making a class iterable from VAPI bindings
- Date: Sat, 15 Oct 2011 23:37:13 +0200
On Sat, Oct 15, 2011 at 10:47 PM, Calvin Walton <calvin walton kepstin ca>wrote:
Is there any way to add an iterator class to my .vapi file so I can use
foreach, or any plans to allow foreach on types which provide a length
property and get(index) method?
Call it size instead of length.
--
www.debian.org - The Universal Operating System
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]