This commit is contained in:
2026-04-09 15:08:25 +02:00
parent 1914d5c691
commit 6c6929bcb1
16 changed files with 3779 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
#include "toolbox.h"
struct array *sort(struct array *arr, comparator f)
{
(void)arr;
(void)f;
return NULL;
}
struct array *map(struct array *arr, size_t output_size, mapper f)
{
(void)arr;
(void)f;
(void)output_size;
return NULL;
}
struct array *filter(struct array *arr, predicate f)
{
(void)arr;
(void)f;
return NULL;
}
void *reduce(struct array *arr, void *start_value, reducer f)
{
(void)arr;
(void)f;
(void)start_value;
return NULL;
}
void foreach(struct array *arr, acceptor f)
{
(void)arr;
(void)f;
}