array lists now can be cleared

This commit is contained in:
FelixBrendel
2020-04-03 22:46:37 +02:00
parent f35d5c6d90
commit 07e89f3841
+5
View File
@@ -19,6 +19,11 @@ struct Array_List {
data = 0;
}
void clear() {
next_index = 0;
}
Array_List<type> clone() {
Array_List<type> ret;
ret.length = length;