#include <nitro/math/qsort.h>
static inline u32 MATH_QSortStackSize(u32 num);
num | Number of elements in the array to sort. |
Returns the size of the work buffer required for sorting with MATH_QSort
.
This function returns the maximum size of the work buffer needed for sorting with MATH_QSort
. If no work buffer is passed as an argument to MATH_QSort
, a work area of this size will be allocated from the stack.
04/12/2005 Initial version.