add readme, fix some minor bugs

This commit is contained in:
2026-05-07 14:44:38 +03:00
parent 179e0631ff
commit 52970bfc04
8 changed files with 776 additions and 52 deletions

View File

@@ -182,6 +182,7 @@ void *get_aptr(void *paptr, sl_argtype_e type){
break;*/
}
aptr = realloc(aptr, (i + 1) * sizeof(void*));
if(!aptr) ERR("realloc()");
*((void***)paptr) = aptr;
aptr[i] = NULL;
if(sz){