Re: [Vala] sorting an array



On Fri, April 4, 2008 08:04, Michael Lawrence wrote:
What is the idiom for sorting an array in Vala?

There does not appear to be any qsort binding (though one could easily be
added to e.g. glib.vapi). I looked at GLib.Array but that's not really
usable since there is no way to retrieve values from it. Could sort a
G[S]List, but would rather use an array.

Right, we should add a sort method to arrays using qsort. Feel free to
open a bug about that.

Juerg





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]