[PATCH] ntdll: Reimplement qsort() using generic mergesort

Vincent Pelletier plr.vincent at gmail.com
Sun May 9 07:55:22 CDT 2010


Le dimanche 09 mai 2010 13:09:47, Marcus Meissner a écrit :
> As __cdecl (for the compare function) is not the UNIX cdecl in Win64
> anymore, we need to reimplement sort to call the right comparator
> functions.

Not that it's important, but that reminded me of this:
  http://docs.python.org/library/ctypes.html#callback-functions
(scroll a bit for qsort example on windows vs. linux)

It would be interesting (though probably futile) to see how this code behaves.

-- 
Vincent Pelletier



More information about the wine-devel mailing list