mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Ivar underscore prefixes added and some tidying done.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4902 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6a01c2a85d
commit
a2737c2cf5
69 changed files with 2340 additions and 2203 deletions
|
@ -54,7 +54,7 @@ NSString *NSPortTimeoutException
|
|||
|
||||
- (id) delegate
|
||||
{
|
||||
return delegate;
|
||||
return _delegate;
|
||||
}
|
||||
|
||||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
|
@ -87,7 +87,7 @@ NSString *NSPortTimeoutException
|
|||
- (void) invalidate
|
||||
{
|
||||
[[NSPortNameServer defaultPortNameServer] removePort: self];
|
||||
is_valid = NO;
|
||||
_is_valid = NO;
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
postNotificationName: NSPortDidBecomeInvalidNotification
|
||||
object: self];
|
||||
|
@ -95,7 +95,7 @@ NSString *NSPortTimeoutException
|
|||
|
||||
- (BOOL) isValid
|
||||
{
|
||||
return is_valid;
|
||||
return _is_valid;
|
||||
}
|
||||
|
||||
- (int) machPort
|
||||
|
@ -106,7 +106,7 @@ NSString *NSPortTimeoutException
|
|||
|
||||
- (void) release
|
||||
{
|
||||
if (is_valid && [self retainCount] == 1)
|
||||
if (_is_valid && [self retainCount] == 1)
|
||||
{
|
||||
NSAutoreleasePool *arp;
|
||||
|
||||
|
@ -126,11 +126,11 @@ NSString *NSPortTimeoutException
|
|||
[super release];
|
||||
}
|
||||
|
||||
- (void) setDelegate: anObject
|
||||
- (void) setDelegate: (id) anObject
|
||||
{
|
||||
NSAssert([anObject respondsToSelector: @selector(handlePortMessage:)],
|
||||
NSInvalidArgumentException);
|
||||
delegate = anObject;
|
||||
_delegate = anObject;
|
||||
}
|
||||
|
||||
- (void) addConnection: (NSConnection*)aConnection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue