Update Array.h

main
po79yr3at 1 year ago
parent 4c81b46c25
commit 4c5713efca

@ -192,7 +192,6 @@ void Array_Obj_PreRelease(struct Array *unrel_obj){
for(struct Array_ *p = ArrayList.front; p != ArrayList.back; p = p->next)
for(struct Array_ *q = ((struct ArrayClass *)p->p)->objects.front; q != ((struct ArrayClass *)p->p)->objects.back; q = q->next)
if(unrel_obj == ((struct ArrayObjects*)q->p)->p_obj){
printf("%s\n", ((struct ArrayClass *)p->p)->TypeName);
Array_release(unrel_obj, ((struct ArrayClass *)p->p)->rel_);
Array_delete_p(&((struct ArrayClass *)p->p)->objects, q, DoNothing);
return ;

Loading…
Cancel
Save