/*------------------------------------------------------------------------------
 src/lib/dj/djSort.h
 
 Copyright (c) 2004-2006 Darby Johnston.
 All rights reserved.
 Use is subject to license terms.
------------------------------------------------------------------------------*/

#ifndef DJ_SORT_H
#define DJ_SORT_H
#include <djList.h>

namespace dj {

// Quick sort.
//
typedef int (QSortCompare)(const void *, const void *);
void qsort(void *, int size, int elemSize, QSortCompare *);
template <class T> const List<T> qsort(const List<T> &, QSortCompare *);

}

#include <djSort_.h>
#endif
