ReactOS 0.4.16-dev-2216-ga08d639
sort.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS win32 subsystem
4 * PURPOSE:
5 * FILE: win32ss/gdi/eng/sort.c
6 * PROGRAMER: ReactOS Team
7 */
8
9#include <win32k.h>
10
11#define NDEBUG
12#include <debug.h>
13
14/*
15 * @implemented
16 */
17void
19EngSort(IN OUT PBYTE Buf, IN ULONG ElemSize, IN ULONG ElemCount, IN SORTCOMP CompFunc)
20{
21 qsort(Buf, ElemCount, ElemSize, CompFunc);
22}
23
24/* EOF */
#define APIENTRY
Definition: api.h:79
_ACRTIMP void __cdecl qsort(void *, size_t, size_t, int(__cdecl *)(const void *, const void *))
BYTE * PBYTE
Definition: pedump.c:66
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
void APIENTRY EngSort(IN OUT PBYTE Buf, IN ULONG ElemSize, IN ULONG ElemCount, IN SORTCOMP CompFunc)
Definition: sort.c:19