/[escript]/branches/intelc_win32/finley/src/qsortG.h
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 753 - (hide annotations)
Mon Jun 26 02:51:25 2006 UTC (16 years, 1 month 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 woo409 752 /* 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) */
3    
4 woo409 753 #if !defined qsortG_H
5     #define qsortG_H
6    
7 woo409 752 extern void qsortG(void *base, size_t nmemb, size_t size,
8     int (*compare)(const void *, const void *));
9    
10 woo409 753 #endif

  ViewVC Help
Powered by ViewVC 1.1.26