ViewVC logotype

Contents of /branches/intelc_win32/finley/src/qsortG.h

Parent Directory Parent Directory | Revision Log Revision Log

Revision 753 - (show annotations)
Mon Jun 26 02:51:25 2006 UTC (14 years ago) by woo409
File MIME type: text/plain
File size: 317 byte(s)
+ Made qsortG usage conditional on USE_QSORTG being defined

Note both altix and win32 fail the test_normal_onFunctionContactOne/Zero tests when using QSORTG.

Perhaps QSORTG isn't stable or altix isn't or I've introduced some other bug...I'll try altix without qsortG and see what happens.
This is becoming painful.
1 /* qsortG - drop in replacement for qsort */
2 /* Useful for consistency across platforms as quicksort isn't guaranteed to be stable (and isn't on Win32) */
4 #if !defined qsortG_H
5 #define qsortG_H
7 extern void qsortG(void *base, size_t nmemb, size_t size,
8 int (*compare)(const void *, const void *));
10 #endif

  ViewVC Help
Powered by ViewVC 1.1.26