[Vala] Patch to add support for array sort, reverse and shuffle operations
- From: jp0409 jippii fi
- To: vala-list gnome org
- Subject: [Vala] Patch to add support for array sort, reverse and shuffle operations
- Date: Mon, 10 May 2010 19:23:59 +0300 (EEST)
Hi,
I have implemented sort(), reverse() and shuffle() operations for build
in arrays. The sort operation supports both ascending and descending
order and all operations should work in both gobject and posix profiles.
https://bugzilla.gnome.org/show_bug.cgi?id=530450
Arrays containing object types are also sortable if the class has a
comparison method 'int compare(this)'. Comments wellcome!
Regards,
J-P
__
Saunalahdelta mullistava uutuus Nokia N97 ja kaiken kattava TotaaliMAX nyt ennakkomyynnissä uskomattoman
edullisesti! Paketissa puhelut ja viestit (3000 min/kpl/kk), huippunopea mobiililaajakaista sekä Nokia N97
yhdellä kk-maksulla vain 59,95 e/kk (24 kk sopimus).
Katso http://saunalahti.fi/totaalimax
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]