Re: [Vala] Second argument not sent to List sort function
- From: Robert Powell <rob yorba org>
- To: David Ma <dmlh02 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Second argument not sent to List sort function
- Date: Wed, 30 Jun 2010 08:39:55 -0700
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]