Files
cKit/Sort/c_InPlaceMSDRadixSort.h
T

21 lines
709 B
C
Raw Normal View History

2026-08-29 01:58:00 +08:00
#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*/