21 lines
709 B
C
21 lines
709 B
C
#ifndef INCLUDED_C_INPLACEMSDRADIXSORT_H
|
|||
|
|
#define INCLUDED_C_INPLACEMSDRADIXSORT_H
|
||
|
|
|
||
|
|
#ifndef INCLUDED_C_TYPES_H
|
||
|
|
#include <c_Types.h>
|
||
|
|
#endif /*INCLUDED_C_TYPES_H*/
|
||
|
|
|
||
|
|
/* ------------------------------------------------------------------------------------------------------------------ */
|
||
|
|
/* */
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
c_size_t R; // Alphabet size / Radix constraints (e.g., 256 for standard byte arrays)
|
||
|
|
} c_InPlaceMSDRadixSort_t;
|
||
|
|
|
||
|
|
/* ------------------------------------------------------------------------------------------------------------------ */
|
||
|
|
/* */
|
||
|
|
|
||
|
|
c_err_t c_InPlaceMSDRadixSort_Sort(const c_InPlaceMSDRadixSort_t* sort, char** arr, c_size_t n);
|
||
|
|
|
||
|
|
#endif /*INCLUDED_C_INPLACEMSDRADIXSORT_H*/
|