[ccan] [PATCH 0/4] order_functions: Helpers for comparison callbacks
David Gibson
david at gibson.dropbear.id.au
Tue Jun 2 17:39:19 AEST 2015
On Tue, Jun 02, 2015 at 10:33:02AM +0930, Paul 'Rusty' Russell wrote:
> David Gibson <david at gibson.dropbear.id.au> writes:
> > Standard library routines like qsort() and bsearch() take a
> > user-defined comparison callback in order to determine the order of
> > the elements they're handling. The asort, asearch and avl ccan
> > modules use a similar pattern.
>
> Nice!
>
> I think it should just be renamed to "order" (or ordering?). I don't
> think that will clash, and short names win.
Ok, done.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20150602/bcb32165/attachment.sig>
More information about the ccan
mailing list