Fix the return type of NSDistantObject +autorelease to return id, not void. Type-dependent dispatch in libobjc2 discovered that some things are picking up this method signature by accident and calling NSObject's -autorelease with the wrong types.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31224 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2010-08-31 22:02:38 +00:00
parent ea423f1f64
commit 0898a4c4b2

View file

@ -130,7 +130,7 @@ enum proxyLocation
+ (id) initWithCoder: (NSCoder*)aCoder;
+ (id) initWithLocal: (id)anObject connection: (NSConnection*)aConnection;
+ (id) initWithTarget: (unsigned)target connection: (NSConnection*)aConnection;
+ (void) autorelease;
+ (id) autorelease;
+ (void) release;
+ (id) retain;
+ (BOOL) respondsToSelector: (SEL)sel;
@ -138,8 +138,9 @@ enum proxyLocation
@implementation GSDistantObjectPlaceHolder
+ (void) autorelease
+ (id) autorelease
{
return self;
}
+ (void) release