mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Incorporated patch by David Chisnall.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28326 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
88649d248a
commit
c4c9fe6097
2 changed files with 22 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2009-06-05 18:12-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSDistantObject.m: NSProxy subclasses must override -init
|
||||||
|
or an exception will be thrown. This change calls the forwarding
|
||||||
|
mechanism to invoke -init on the remote object.
|
||||||
|
Patch by David Chisnall <theraven@sucs.org>
|
||||||
|
|
||||||
2009-06-04 Georg Fleischmann <G.Fleischmann@vhf.de>
|
2009-06-04 Georg Fleischmann <G.Fleischmann@vhf.de>
|
||||||
|
|
||||||
* Source/Additions/unicode/nextstep.h: Fixups for encoding mapping.
|
* Source/Additions/unicode/nextstep.h: Fixups for encoding mapping.
|
||||||
|
|
|
@ -443,6 +443,21 @@ enum proxyLocation
|
||||||
{
|
{
|
||||||
return _connection;
|
return _connection;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* NSProxy subclasses must override -init or an exception will be thrown. This
|
||||||
|
* calls the forwarding mechanism to invoke -init on the remote object.
|
||||||
|
*/
|
||||||
|
- (id)init
|
||||||
|
{
|
||||||
|
NSMethodSignature *sig = [self methodSignatureForSelector: _cmd];
|
||||||
|
NSInvocation *inv = [NSInvocation invocationWithMethodSignature: sig];
|
||||||
|
id ret;
|
||||||
|
[inv setTarget: self];
|
||||||
|
[inv setSelector: _cmd];
|
||||||
|
[self forwardInvocation: inv];
|
||||||
|
[inv getReturnValue: &ret];
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue