mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Don't tell a lie. The retain count representation of gnustep-base and
libobjc2 differs, so we cannot use the ARC retain/release implementation for now. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40181 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6c388830da
commit
ce1453234b
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2016-10-27 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSObject.m: Comment out _ARCCompliantRetainRelease for
|
||||
now because the retain count representation in gnustep-base and
|
||||
libobjc2 differs causing space leaks on 64-bit architectures.
|
||||
|
||||
2016-10-24 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSData.m: Only atempt to read regular files into NSData,
|
||||
|
|
|
@ -735,7 +735,17 @@ NSShouldRetainWithZone (NSObject *anObject, NSZone *requestedZone)
|
|||
* </p>
|
||||
*/
|
||||
@implementation NSObject
|
||||
#if 0
|
||||
/* Commented out for now, since the representation of object retain
|
||||
* counts in gnustep-base and libobjc2 currently is not compatible.
|
||||
* While gnustep-base uses int32_t libobjc2 uses intptr_t, which makes
|
||||
* a difference on 64-bit architectures.
|
||||
*/
|
||||
// FIXME Rewrite retain/release to use objc_retain/objc_release and
|
||||
// similarly object allocation to use class_createInstance when we
|
||||
// are using libobjc2.
|
||||
- (void)_ARCCompliantRetainRelease {}
|
||||
#endif
|
||||
|
||||
+ (void) _becomeMultiThreaded: (NSNotification *)aNotification
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue