mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
|
@ -44,10 +44,6 @@ static SEL oaiSel;
|
|||
|
||||
static Class GSInlineArrayClass;
|
||||
/* This class stores objects inline in data beyond the end of the instance.
|
||||
* However, when GC is enabled the object data is typed, and all data after
|
||||
* the end of the class is ignored by the garbage collector (which would
|
||||
* mean that objects in the array could be collected).
|
||||
* We therefore do not provide the class when GC is being used.
|
||||
*/
|
||||
@interface GSInlineArray : GSArray
|
||||
{
|
||||
|
@ -968,7 +964,7 @@ static Class GSInlineArrayClass;
|
|||
if ((self = [super init]) != nil)
|
||||
{
|
||||
array = anArray;
|
||||
IF_NO_GC(RETAIN(array));
|
||||
IF_NO_ARC(RETAIN(array));
|
||||
pos = 0;
|
||||
}
|
||||
return self;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue