Re: GStrings and sorting GLists



On Sun, Dec 17, 2006 at 04:00:42AM +0100, Hadron Quark wrote:

Are there no comparison operations other than g_string_equal in order to
facilitate the sorting of  GList objects that contain GStrings?

I'm not sure how g_string_equal() facilitates sorting when
it returns only TRUE/FALSE for equality, but any C string
comparison function is usable on gstring->str.  Yes, you
have to write the one-line wrapper yourself.

Yeti


--
Whatever.



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