WvStreams
wvsorter.cc
1/*
2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4 *
5 * An iterator that can sort anything that has an Iter subclass with the
6 * right member functions.
7 *
8 * See wvsorter.h.
9 */
10#include "wvsorter.h"
11
12WvSorterBase::CompareFunc *WvSorterBase::actual_compare;
13
14int WvSorterBase::magic_compare(const void *_a, const void *_b)
15{
16 void *a = *(void **)_a, *b = *(void **)_b;
17 return actual_compare(a, b);
18}
19
20