mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Try to address issue of treating pointer function values as bitmap.
This commit is contained in:
parent
c1833e1130
commit
b0263ae4a8
4 changed files with 26 additions and 27 deletions
|
@ -534,7 +534,7 @@ static Class concreteClass = Nil;
|
|||
new_gf = new_cap / 2;
|
||||
if (_contents == 0)
|
||||
{
|
||||
if (_pf.options & NSPointerFunctionsZeroingWeakMemory)
|
||||
if (memoryType(_pf.options, NSPointerFunctionsZeroingWeakMemory))
|
||||
{
|
||||
ptr = (void**)NSAllocateCollectable(size, 0);
|
||||
}
|
||||
|
@ -545,7 +545,7 @@ static Class concreteClass = Nil;
|
|||
}
|
||||
else
|
||||
{
|
||||
if (_pf.options & NSPointerFunctionsZeroingWeakMemory)
|
||||
if (memoryType(_pf.options, NSPointerFunctionsZeroingWeakMemory))
|
||||
{
|
||||
ptr = (void**)NSReallocateCollectable(
|
||||
_contents, size, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue