Re: [Vala] Making a class iterable from VAPI bindings



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]