removed elements freeing in autoarr

This commit is contained in:
2023-10-27 14:21:10 +06:00
parent 5ddc96e1b4
commit b6088845d9
3 changed files with 17 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
#include "string.h"
kt_define(string, NULL, NULL);
Autoarr_define(string, false);
Autoarr_define(string);
// copies str content to new char pointer value (adding '\0' at the end)
char* string_extract(allocator_ptr al, string str){