tweaks to use new GC API

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28051 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-03-08 14:34:16 +00:00
parent 8687a2ed40
commit 00e2bbb843
8 changed files with 43 additions and 17 deletions

View file

@ -68,8 +68,8 @@ static NSNull *null = nil;
+ (void) initialize
{
class_ivar_set_gcinvisible (self, "_delegate", YES);
class_ivar_set_gcinvisible (self, "_owner", YES);
GSMakeWeakPointer(self, "_delegate");
GSMakeWeakPointer(self, "_owner");
}
- (void) dealloc