diff options
author | Max <mparisi@stevens.edu> | 2020-09-16 14:59:06 -0400 |
---|---|---|
committer | Max <mparisi@stevens.edu> | 2020-09-16 14:59:06 -0400 |
commit | acab5a38813acd70a3308d41be9a7c71cede15e1 (patch) | |
tree | 81f59b99f0984d3adf579c1b81c0d4a566e659cd /include/darray.h | |
parent | 7186cb8a4161764b8b51a4917cb9040a53f42142 (diff) |
darray.c progress, added qsort.h, qsort labeled
Diffstat (limited to 'include/darray.h')
-rw-r--r-- | include/darray.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/darray.h b/include/darray.h index 2859cd4..ff592ce 100644 --- a/include/darray.h +++ b/include/darray.h @@ -5,6 +5,11 @@ extern "C" {
#endif
+#include "types.h"
+
+typedef int (*SortFunction)(const void *, const void *);
+typedef BOOL (*MapFunction)(const void *, s32);
+
typedef struct DArray {
s32 size;
s32 capacity;
|