Final batch of GC cleanups (for the forseeable future).

This commit is contained in:
rfm 2024-07-25 17:11:34 +01:00
parent b49af95359
commit 28a6e6ebbd
7 changed files with 61 additions and 43 deletions

View file

@ -204,12 +204,16 @@ static Class concreteClass = Nil;
+ (id) pointerArrayWithStrongObjects
{
return [self pointerArrayWithOptions: NSPointerFunctionsStrongMemory];
GSOnceMLog(@"Garbage Collection no longer supported."
@" Using +strongObjectsPointerArray");
return [self strongObjectsPointerArray];
}
+ (id) pointerArrayWithWeakObjects
{
return [self pointerArrayWithOptions: NSPointerFunctionsWeakMemory];
GSOnceMLog(@"Garbage Collection no longer supported."
@" Using +weakObjectsPointerArray");
return [self weakObjectsPointerArray];
}
- (NSArray*) allObjects