documentation improvment

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23911 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-10-19 06:44:54 +00:00
parent 31adc37651
commit 56a891c258
2 changed files with 18 additions and 1 deletions

View file

@ -2,11 +2,12 @@
* Source/NSBundle.m: Strip path extension from main bundle name on * Source/NSBundle.m: Strip path extension from main bundle name on
cygwin. cygwin.
* Headers/Foundation/NSPortNameServer.h: Improve documentation
2006-10-18 Richard Frith-Macdonald <rfm@gnu.org> 2006-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Makefile.postamble: * Source/Makefile.postamble:
Rewmove use of UNICODE_HEADERS which appears to beave been breaking Remove use of UNICODE_HEADERS which appears to beave been breaking
solaris build. solaris build.
2006-10-18 Richard Frith-Macdonald <rfm@gnu.org> 2006-10-18 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -35,6 +35,8 @@
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSMapTable.h> #include <Foundation/NSMapTable.h>
#if OS_API_VERSION(GS_API_MACOSX,HS_API_LATEST)
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
@ -69,6 +71,18 @@ extern "C" {
@interface NSMessagePortNameServer : NSPortNameServer @interface NSMessagePortNameServer : NSPortNameServer
+ (id) sharedInstance; + (id) sharedInstance;
/** Returns the [NSMessagePort] instance registered for the specified name
* if it exists on the local host.
*/
- (NSPort*) portForName: (NSString*)name;
/** Returns the port registered for the specified name (if it exists).<br />
* The host must be an empty string or nil, since [NSMessagePort] instances
* on other hosts are inaccessible from the current host.
*/
- (NSPort*) portForName: (NSString*)name
onHost: (NSString*)host;
@end @end
#if defined(__cplusplus) #if defined(__cplusplus)
@ -77,3 +91,5 @@ extern "C" {
#endif #endif
#endif