WvStreams
|
00001 /* 00002 * Worldvisions Weaver Software: 00003 * Copyright (C) 1997-2002 Net Integration Technologies, Inc. 00004 * 00005 * An iterator that can sort anything that has an Iter subclass with the 00006 * right member functions. 00007 * 00008 * See wvsorter.h. 00009 */ 00010 #include "wvsorter.h" 00011 00012 WvSorterBase::CompareFunc *WvSorterBase::actual_compare; 00013 00014 int WvSorterBase::magic_compare(const void *_a, const void *_b) 00015 { 00016 void *a = *(void **)_a, *b = *(void **)_b; 00017 return actual_compare(a, b); 00018 } 00019 00020