git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33227 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-06-01 22:12:21 +00:00
parent f9e0929417
commit 1931f89535

View file

@ -84,7 +84,7 @@ pointerFunctionsAcquire(PFInfo *PF, void **dst, void *src)
objc_assign_strongCast((id)src, (id*)dst); objc_assign_strongCast((id)src, (id*)dst);
} }
#else #else
#if GSWITHGC #if GS_WITH_GC
if (PF->options & NSPointerFunctionsZeroingWeakMemory) if (PF->options & NSPointerFunctionsZeroingWeakMemory)
GSAssignZeroingWeakPointer(dst, src); GSAssignZeroingWeakPointer(dst, src);
else else
@ -198,7 +198,7 @@ pointerFunctionsReplace(PFInfo *PF, void **dst, void *src)
PF->options & NSPointerFunctionsCopyIn ? YES : NO); PF->options & NSPointerFunctionsCopyIn ? YES : NO);
if (PF->relinquishFunction != 0) if (PF->relinquishFunction != 0)
(*PF->relinquishFunction)(*dst, PF->sizeFunction); (*PF->relinquishFunction)(*dst, PF->sizeFunction);
#if GSWITHGC #if GS_WITH_GC
if (PF->options & NSPointerFunctionsZeroingWeakMemory) if (PF->options & NSPointerFunctionsZeroingWeakMemory)
GSAssignZeroingWeakPointer(dst, src); GSAssignZeroingWeakPointer(dst, src);
else else