This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#include <stdlib.h>
|
|
|
|
#include "Element.h"
|
|
|
|
short Compare(Element Data1, Element Data2)
|
|
{
|
|
if(*Data1 > *Data2)
|
|
return 1;
|
|
else if(*Data1 < *Data2)
|
|
return -1;
|
|
return 0;
|
|
}
|
|
|
|
void FreeElement(Element Data)
|
|
{
|
|
free(Data);
|
|
}
|
|
|