Use release' and dealloc' instead of `free'.

(initialize): return void.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@102 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-03-12 19:57:45 +00:00
parent 76e11c70ff
commit ccba829270

View file

@ -26,11 +26,10 @@
@implementation Array
+ initialize
+ (void) initialize
{
if (self == [Array class])
[self setVersion:0]; /* beta release */
return self;
}
// MANAGING CAPACITY;
@ -140,22 +139,10 @@
return self;
}
- free
- (void) dealloc
{
OBJC_FREE(_contents_array);
return [super free];
}
- freeObjects
{
if (CONTAINS_OBJECTS)
{
[self makeObjectsPerform:@selector(free)];
[self empty];
}
else
[self empty];
return self;
[super dealloc];
}
- initWithContentsOf: (id <Collecting>)aCollection