Re: [Vala] Second argument not sent to List sort function



On Wed, Jun 30, 2010 at 8:17 AM, David Ma <dmlh02 gmail com> wrote:

The second argument of a CompareFunc List sorting function does not seem to
get
sent to the function at all. For integer sorting, 0 is sent; for object
sorting,
null is sent.


I'm guessing you need to have the sort function be static because of the
"this" pointer.

Hope that helps

Rob


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