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:
Richard Frith-Macdonald 2022-02-17 10:08:18 +00:00
parent 6837924e60
commit c76ebf2962
61 changed files with 384 additions and 313 deletions

View file

@ -1826,7 +1826,7 @@ failure:
{
att = [[mgr fileAttributesAtPath: path
traverseLink: YES] mutableCopy];
IF_NO_GC(AUTORELEASE(att));
IF_NO_ARC(AUTORELEASE(att));
}
/* To replace the existing file on windows, it must be writable.
@ -2083,7 +2083,7 @@ failure:
{
NSMutableDictionary *mAtt = [att mutableCopy];
IF_NO_GC(AUTORELEASE(mAtt));
IF_NO_ARC(AUTORELEASE(mAtt));
/*
* We have created a new file - so we attempt to make it's
* attributes match that of the original.