mirror of
https://github.com/eddyem/snippets_library.git
synced 2026-06-21 18:56:23 +03:00
add readme, fix some minor bugs
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user