@@ -118,11 +118,11 @@ if (previousPool != nil) previousPool->nextPool = self; size = GROW_SIZE; objects = [self allocMemoryForNItems: GROW_SIZE - withSize: sizeof(id)]; + ofSize: sizeof(id)]; } @catch (id e) { [self release]; @throw e; } @@ -132,11 +132,11 @@ - (void)addObject: (id)object { if (count + 1 > size) { objects = [self resizeMemory: objects toNItems: size + GROW_SIZE - withSize: sizeof(id)]; + ofSize: sizeof(id)]; size += GROW_SIZE; } objects[count] = object; count++;