49#define __FUNC__ "SortedSet_dhCreate"
60 tmp->list = (
int *)
MALLOC_DH (size *
sizeof (
int));
66#define __FUNC__ "SortedSet_dhDestroy"
81#define __FUNC__ "SortedSet_dhInsert"
91 for (i = 0; i < ct; ++i)
108 int *tmp = (
int *)
MALLOC_DH (
n * 2 *
sizeof (
int));
110 memcpy (tmp,
list,
n *
sizeof (
int));
113 list = ss->list = tmp;
124#define __FUNC__ "SortedSet_dhGetList"
void SortedSet_dhGetList(SortedSet_dh ss, int **list, int *count)
void SortedSet_dhDestroy(SortedSet_dh ss)
void SortedSet_dhInsert(SortedSet_dh ss, int idx)
void SortedSet_dhCreate(SortedSet_dh *ss, int size)
void shellSort_int(const int n, int *x)