mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Added method for returning immutable objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14776 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
53e98d912a
commit
d54488d74d
8 changed files with 76 additions and 12 deletions
|
@ -479,6 +479,12 @@ static SEL eqSel;
|
|||
_contents_array[index] = RETAIN(anObject);
|
||||
}
|
||||
|
||||
- (id) makeImmutableCopyOnFail: (BOOL)force
|
||||
{
|
||||
isa = [GSArray class];
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) removeLastObject
|
||||
{
|
||||
if (_count == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue