mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Final batch of GC cleanups (for the forseeable future).
This commit is contained in:
parent
b49af95359
commit
28a6e6ebbd
7 changed files with 61 additions and 43 deletions
|
@ -72,30 +72,30 @@ static Class concreteClass = 0;
|
|||
|
||||
+ (id) mapTableWithStrongToStrongObjects
|
||||
{
|
||||
return [self mapTableWithKeyOptions: NSPointerFunctionsObjectPersonality
|
||||
valueOptions: NSPointerFunctionsObjectPersonality];
|
||||
GSOnceMLog(@"Garbage Collection no longer supported."
|
||||
@" Using +strongToStrongObjectsMapTable");
|
||||
return [self strongToStrongObjectsMapTable];
|
||||
}
|
||||
|
||||
+ (id) mapTableWithStrongToWeakObjects
|
||||
{
|
||||
return [self mapTableWithKeyOptions: NSPointerFunctionsObjectPersonality
|
||||
valueOptions: NSPointerFunctionsObjectPersonality
|
||||
| NSPointerFunctionsWeakMemory];
|
||||
GSOnceMLog(@"Garbage Collection no longer supported."
|
||||
@" Using +strongToWeakObjectsMapTable");
|
||||
return [self strongToWeakObjectsMapTable];
|
||||
}
|
||||
|
||||
+ (id) mapTableWithWeakToStrongObjects
|
||||
{
|
||||
return [self mapTableWithKeyOptions: NSPointerFunctionsObjectPersonality
|
||||
| NSPointerFunctionsWeakMemory
|
||||
valueOptions: NSPointerFunctionsObjectPersonality];
|
||||
GSOnceMLog(@"Garbage Collection no longer supported."
|
||||
@" Using +weakToStringObjectsMapTable");
|
||||
return [self weakToStringObjectsMapTable];
|
||||
}
|
||||
|
||||
+ (id) mapTableWithWeakToWeakObjects
|
||||
{
|
||||
return [self mapTableWithKeyOptions: NSPointerFunctionsObjectPersonality
|
||||
| NSPointerFunctionsWeakMemory
|
||||
valueOptions: NSPointerFunctionsObjectPersonality
|
||||
| NSPointerFunctionsWeakMemory];
|
||||
GSOnceMLog(@"Garbage Collection no longer supported."
|
||||
@" Using +weakToWeakObjectsMapTable");
|
||||
return [self weakToWeakObjectsMapTable];
|
||||
}
|
||||
|
||||
+ (id) strongToStrongObjectsMapTable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue