mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
removal of garbage collection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39608 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
030f54a9cf
commit
d40d219015
72 changed files with 122 additions and 1787 deletions
|
@ -217,9 +217,7 @@
|
|||
*/
|
||||
- (id) autorelease
|
||||
{
|
||||
#if GS_WITH_GC == 0
|
||||
[NSAutoreleasePool addObject: self];
|
||||
#endif
|
||||
return self;
|
||||
}
|
||||
|
||||
|
@ -455,7 +453,6 @@
|
|||
*/
|
||||
- (oneway void) release
|
||||
{
|
||||
#if (GS_WITH_GC == 0)
|
||||
if (NSDecrementExtraRefCountWasZero(self))
|
||||
{
|
||||
# ifdef OBJC_CAP_ARC
|
||||
|
@ -463,7 +460,6 @@
|
|||
# endif
|
||||
[self dealloc];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue