src: implement upx_shellsort()

This commit is contained in:
Markus F.X.J. Oberhumer
2023-09-01 10:49:47 +02:00
parent bfb438dc89
commit bb6b087862
3 changed files with 122 additions and 16 deletions
+3
View File
@@ -127,6 +127,9 @@ void *upx_calloc(size_t n, size_t element_size);
void upx_memswap(void *a, void *b, size_t n);
void upx_shellsort(void *array, size_t n, size_t element_size,
int (*compare)(const void *, const void *));
void upx_stable_sort(void *array, size_t n, size_t element_size,
int (*compare)(const void *, const void *));