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.