some Array improvements

This commit is contained in:
2023-01-20 19:57:37 +06:00
parent 3a20caf380
commit 29a5b22286
7 changed files with 42 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
#include "string.h"
ktid_define(string);
Array_define(string);
// copies str content to new char pointer value (adding '\0' at the end)
char* string_extract(string str){