ReactOS 0.4.16-dev-319-g6cf4263
sort.c File Reference
#include <win32k.h>
#include <debug.h>
Include dependency graph for sort.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

void APIENTRY EngSort (IN OUT PBYTE Buf, IN ULONG ElemSize, IN ULONG ElemCount, IN SORTCOMP CompFunc)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 11 of file sort.c.

Function Documentation

◆ EngSort()

void APIENTRY EngSort ( IN OUT PBYTE  Buf,
IN ULONG  ElemSize,
IN ULONG  ElemCount,
IN SORTCOMP  CompFunc 
)

Definition at line 19 of file sort.c.

20{
21 qsort(Buf, ElemCount, ElemSize, CompFunc);
22}
int CompFunc(const void *p1, const void *p2)
Definition: rsym64.c:508
void __cdecl qsort(_Inout_updates_bytes_(_NumOfElements *_SizeOfElements) void *_Base, _In_ size_t _NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))