mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Replaced IF_NO_GC() macro calls with the more descriptive IF_NO_ARC()
and deprecate it. Searched for and removed obsolete references to garbage collection in comments and documentation.
This commit is contained in:
parent
6837924e60
commit
c76ebf2962
61 changed files with 384 additions and 313 deletions
|
@ -490,7 +490,7 @@ _arg_addr(NSInvocation *inv, int index)
|
|||
|
||||
_get_arg(self, index, &old);
|
||||
_set_arg(self, index, buffer);
|
||||
IF_NO_GC(RETAIN(*(id*)buffer));
|
||||
IF_NO_ARC(RETAIN(*(id*)buffer));
|
||||
if (old != nil)
|
||||
{
|
||||
RELEASE(old);
|
||||
|
@ -634,7 +634,7 @@ _arg_addr(NSInvocation *inv, int index)
|
|||
_get_arg(self, i-1, &old);
|
||||
if (old != nil)
|
||||
{
|
||||
IF_NO_GC(RETAIN(old));
|
||||
IF_NO_ARC(RETAIN(old));
|
||||
}
|
||||
}
|
||||
else if (*_inf[i].type == _C_CHARPTR)
|
||||
|
@ -661,7 +661,7 @@ _arg_addr(NSInvocation *inv, int index)
|
|||
{
|
||||
_targetRetained = YES;
|
||||
|
||||
IF_NO_GC(RETAIN(_target));
|
||||
IF_NO_ARC(RETAIN(_target));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue