25 lines
754 B
C
25 lines
754 B
C
#ifndef INCLUDED_C_AMERICANFLAG_H
|
|
#define INCLUDED_C_AMERICANFLAG_H
|
|
|
|
#ifndef INCLUDED_C_TYPES_H
|
|
#include <c_Types.h>
|
|
#endif /*INCLUDED_C_TYPES_H*/
|
|
|
|
#ifndef INCLUDED_C_ALLOCATOR_H
|
|
#include <c_Allocator.h>
|
|
#endif /*INCLUDED_C_ALLOCATOR_H*/
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------------ */
|
|
/* */
|
|
|
|
typedef int (*c_AFS_ExtractorFn)(const void* elem, c_size_t d, void* args);
|
|
|
|
c_err_t c_AmericanFlag_Sort(void* base, c_size_t num, c_size_t elem_size, c_AFS_ExtractorFn extractor, void* args);
|
|
|
|
|
|
c_err_t c_AmericanFlag_NonRecSort(void* base, c_size_t num, c_size_t elem_size,
|
|
c_AFS_ExtractorFn extractor, void* args, c_Allocator_t* allocator);
|
|
|
|
|
|
#endif /*INCLUDED_C_AMERICANFLAG_H*/
|