summaryrefslogtreecommitdiffhomepage
path: root/arraylist.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-08-01 13:54:20 -0400
committerrealtradam <[email protected]>2022-08-01 13:54:20 -0400
commit541bd6a040566da752999c8826c6a637a8bb7d7c (patch)
tree07996c8fcb83ff3356695e4e1eade83860b36c22 /arraylist.h
parent4b2ec7c721eae2b95e57ee09ba5234abdb9755dc (diff)
downloadarraylist-541bd6a040566da752999c8826c6a637a8bb7d7c.tar.gz
arraylist-541bd6a040566da752999c8826c6a637a8bb7d7c.zip
change to single headerHEADmaster
Diffstat (limited to 'arraylist.h')
-rw-r--r--arraylist.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/arraylist.h b/arraylist.h
deleted file mode 100644
index 7a1f08e..0000000
--- a/arraylist.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef ARRAYLIST_H
-#define ARRAYLIST_H
-
-#include <stdbool.h>
-
-typedef struct array_list_type Arraylist;
-
-Arraylist* al_create(int type_size);
-void al_free(Arraylist* al);
-void* al_access(Arraylist* al, int position);
-bool al_push(Arraylist* al, void* item);
-void al_delete_last(Arraylist* al);
-bool al_delete_at(Arraylist *al, int position);
-bool al_allocate_at_least(Arraylist* al, int size);
-int al_len(Arraylist* al);
-
-// give 2 indexes, moves source to overwrite the target
-bool al_overwrite_and_delete(Arraylist* al, int source, int target);
-
-#endif