mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Change the way the init method works
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15886 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
95e06d6dbf
commit
d1db6f36bb
2 changed files with 7 additions and 4 deletions
|
@ -3,6 +3,8 @@
|
||||||
* Sourcewin32-def.top: Manually added external functions.
|
* Sourcewin32-def.top: Manually added external functions.
|
||||||
* Source/libgnustep-base.def.in: Regenerated to combine external
|
* Source/libgnustep-base.def.in: Regenerated to combine external
|
||||||
functions and all public classes.
|
functions and all public classes.
|
||||||
|
* Source/NSConnection.m: ([-init]) creates a connection usable as
|
||||||
|
a server.
|
||||||
|
|
||||||
2003-02-04 Richard Frith-Macdonald <rfm@gnu.org>
|
2003-02-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -770,13 +770,14 @@ static BOOL multi_threaded = NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Undocumented feature of OPENSTEP/MacOS-X
|
* Return a connection able to act as a server receive incoming requests.
|
||||||
* -init returns the default connection.
|
|
||||||
*/
|
*/
|
||||||
- (id) init
|
- (id) init
|
||||||
{
|
{
|
||||||
RELEASE(self);
|
NSPort *port = [NSPort port];
|
||||||
return RETAIN([connectionClass defaultConnection]);
|
|
||||||
|
self = [self initWithReceivePort: port sendPort: nil];
|
||||||
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** <init />
|
/** <init />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue