@@ -61,11 +61,11 @@ return last; } - (of_list_object_t*)append: (id)obj { - of_list_object_t *o = [self getMemWithSize: sizeof(of_list_object_t)]; + of_list_object_t *o = [self allocWithSize: sizeof(of_list_object_t)]; o->object = obj; o->next = NULL; o->prev = last; @@ -82,11 +82,11 @@ return o; } - (of_list_object_t*)prepend: (id)obj { - of_list_object_t *o = [self getMemWithSize: sizeof(of_list_object_t)]; + of_list_object_t *o = [self allocWithSize: sizeof(of_list_object_t)]; o->object = obj; o->next = first; o->prev = NULL; @@ -104,11 +104,11 @@ } - (of_list_object_t*)insert: (id)obj before: (of_list_object_t*)listobj { - of_list_object_t *o = [self getMemWithSize: sizeof(of_list_object_t)]; + of_list_object_t *o = [self allocWithSize: sizeof(of_list_object_t)]; o->object = obj; o->next = listobj; o->prev = listobj->prev; @@ -127,11 +127,11 @@ } - (of_list_object_t*)insert: (id)obj after: (of_list_object_t*)listobj { - of_list_object_t *o = [self getMemWithSize: sizeof(of_list_object_t)]; + of_list_object_t *o = [self allocWithSize: sizeof(of_list_object_t)]; o->object = obj; o->next = listobj->next; o->prev = listobj;