mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
avoid spurious compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23027 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2051e8bfef
commit
e7962cfb4d
27 changed files with 105 additions and 22 deletions
30
ChangeLog
30
ChangeLog
|
@ -1,3 +1,33 @@
|
||||||
|
2006-06-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSIndexPath.m:
|
||||||
|
* Source/NSSocketPortNameServer.m:
|
||||||
|
* Source/NSTimeZone.m:
|
||||||
|
* Source/NSPortCoder.m:
|
||||||
|
* Source/NSDistributedNotificationCenter.m:
|
||||||
|
* Source/NSAttributedString.m:
|
||||||
|
* Source/GSArray.m:
|
||||||
|
* Source/NSKeyedArchiver.m:
|
||||||
|
* Source/NSKeyedUnarchiver.m:
|
||||||
|
* Source/NSKeyValueObserving.m:
|
||||||
|
* Source/NSUnarchiver.m:
|
||||||
|
* Source/GSAttributedString.m:
|
||||||
|
* Source/Additions/GCArray.m:
|
||||||
|
* Source/Additions/GCDictionary.m:
|
||||||
|
* Source/Additions/GCObject.m:
|
||||||
|
* Source/NSNumber.m:
|
||||||
|
* Source/GSString.m:
|
||||||
|
* Source/NSConnection.m:
|
||||||
|
* Source/NSAutoreleasePool.m:
|
||||||
|
* Source/NSThread.m:
|
||||||
|
* Source/NSData.m:
|
||||||
|
* Source/NSDate.m:
|
||||||
|
* Source/NSNull.m:
|
||||||
|
* Source/NSValue.m:
|
||||||
|
* Source/NSPortNameServer.m:
|
||||||
|
* Headers/Additions/GNUstepBase/preface.h.in:
|
||||||
|
Fixups to avoid spurious compiler warnings.
|
||||||
|
|
||||||
2006-06-02 Richard Frith-Macdonald <rfm@gnu.org>
|
2006-06-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSHTTPURLHandle.m: Fix uninitialised variable problem.
|
* Source/GSHTTPURLHandle.m: Fix uninitialised variable problem.
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __preface_h_OBJECTS_INCLUDE
|
#ifndef __preface_h_OBJECTS_INCLUDE
|
||||||
|
@ -164,5 +165,9 @@ extern const char o_NeXT_cc_version[];
|
||||||
#define VASPRINTF_LENGTH(VASPF_CALL) strlen((VASPF_CALL))
|
#define VASPRINTF_LENGTH(VASPF_CALL) strlen((VASPF_CALL))
|
||||||
#endif /* VSPRINTF_RETURNS_LENGTH */
|
#endif /* VSPRINTF_RETURNS_LENGTH */
|
||||||
|
|
||||||
|
/* Evil hack to stop gcc-4.1 complaining about a dealloc method which
|
||||||
|
* does not call the superclass implementation.
|
||||||
|
*/
|
||||||
|
#define GSNOSUPERDEALLOC if (0) [super dealloc]
|
||||||
|
|
||||||
#endif /* __preface_h_OBJECTS_INCLUDE */
|
#endif /* __preface_h_OBJECTS_INCLUDE */
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
AutogsdocSource: Additions/GCObject.m
|
AutogsdocSource: Additions/GCObject.m
|
||||||
AutogsdocSource: Additions/GCArray.m
|
AutogsdocSource: Additions/GCArray.m
|
||||||
|
@ -49,6 +50,7 @@
|
||||||
@implementation _GCObjectList
|
@implementation _GCObjectList
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -147,6 +147,7 @@ static Class GSInlineArrayClass;
|
||||||
NSZoneFree([self zone], _contents_array);
|
NSZoneFree([self zone], _contents_array);
|
||||||
}
|
}
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) init
|
- (id) init
|
||||||
|
@ -388,6 +389,7 @@ static Class GSInlineArrayClass;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
- (id) init
|
- (id) init
|
||||||
{
|
{
|
||||||
|
@ -865,6 +867,7 @@ static Class GSInlineArrayClass;
|
||||||
{
|
{
|
||||||
RELEASE(array);
|
RELEASE(array);
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@ -1027,7 +1030,7 @@ static Class GSInlineArrayClass;
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
return; // placeholders never get deallocated.
|
GSNOSUPERDEALLOC; // placeholders never get deallocated.
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) init
|
- (id) init
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Warning - [-initWithString:attributes:] is the designated initialiser,
|
/* Warning - [-initWithString:attributes:] is the designated initialiser,
|
||||||
|
@ -203,6 +204,7 @@ unCacheAttributes(NSDictionary *attrs)
|
||||||
{
|
{
|
||||||
[self gcFinalize];
|
[self gcFinalize];
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString*) description
|
- (NSString*) description
|
||||||
|
|
|
@ -328,7 +328,7 @@ setup(void)
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
return; // Placeholders never get deallocated.
|
GSNOSUPERDEALLOC; // Placeholders never get deallocated.
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2606,6 +2606,7 @@ transmute(GSStr self, NSString *aString)
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithBytes: (const void*)chars
|
- (id) initWithBytes: (const void*)chars
|
||||||
|
@ -2960,6 +2961,7 @@ agree, create a new GSCInlineString otherwise.
|
||||||
_contents.c = 0;
|
_contents.c = 0;
|
||||||
}
|
}
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@ -2969,6 +2971,7 @@ agree, create a new GSCInlineString otherwise.
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@ -2998,6 +3001,7 @@ agree, create a new GSCInlineString otherwise.
|
||||||
{
|
{
|
||||||
DESTROY(_parent);
|
DESTROY(_parent);
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@ -3271,6 +3275,7 @@ agree, create a new GSUnicodeInlineString otherwise.
|
||||||
_contents.u = 0;
|
_contents.u = 0;
|
||||||
}
|
}
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@ -3280,6 +3285,7 @@ agree, create a new GSUnicodeInlineString otherwise.
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@ -3310,6 +3316,7 @@ agree, create a new GSUnicodeInlineString otherwise.
|
||||||
{
|
{
|
||||||
DESTROY(_parent);
|
DESTROY(_parent);
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@ -3482,6 +3489,7 @@ agree, create a new GSUnicodeInlineString otherwise.
|
||||||
self->_zone = 0;
|
self->_zone = 0;
|
||||||
}
|
}
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) deleteCharactersInRange: (NSRange)range
|
- (void) deleteCharactersInRange: (NSRange)range
|
||||||
|
@ -4679,6 +4687,7 @@ agree, create a new GSUnicodeInlineString otherwise.
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (const char*) cString
|
- (const char*) cString
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSAttributedString class reference</title>
|
<title>NSAttributedString class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -975,6 +976,7 @@ static Class GSMutableAttributedStringClass;
|
||||||
{
|
{
|
||||||
RELEASE(_owner);
|
RELEASE(_owner);
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (unsigned int) length
|
- (unsigned int) length
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSAutoreleasePool class reference</title>
|
<title>NSAutoreleasePool class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -400,6 +401,7 @@ static IMP initImp;
|
||||||
|
|
||||||
/* Don't deallocate ourself, just save us for later use. */
|
/* Don't deallocate ourself, just save us for later use. */
|
||||||
push_pool_to_cache (tv, self);
|
push_pool_to_cache (tv, self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) emptyPool
|
- (void) emptyPool
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSConnection class reference</title>
|
<title>NSConnection class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -189,6 +190,7 @@ stringFromMsgType(int type)
|
||||||
{
|
{
|
||||||
RELEASE(obj);
|
RELEASE(obj);
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) countdown
|
- (BOOL) countdown
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSData class reference</title>
|
<title>NSData class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -2799,6 +2800,7 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
|
||||||
@implementation NSDataEmpty
|
@implementation NSDataEmpty
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSDate class reference</title>
|
<title>NSDate class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -1506,6 +1507,7 @@ otherTime(NSDate* other)
|
||||||
{
|
{
|
||||||
[NSException raise: NSInternalInconsistencyException
|
[NSException raise: NSInternalInconsistencyException
|
||||||
format: @"Attempt to deallocate fixed date"];
|
format: @"Attempt to deallocate fixed date"];
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithTimeIntervalSinceReferenceDate: (NSTimeInterval)secs
|
- (id) initWithTimeIntervalSinceReferenceDate: (NSTimeInterval)secs
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSDistributedNotificationCenter class reference</title>
|
<title>NSDistributedNotificationCenter class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -236,6 +237,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
||||||
RELEASE(_remote);
|
RELEASE(_remote);
|
||||||
RELEASE(_type);
|
RELEASE(_type);
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -124,6 +124,7 @@ static NSIndexPath *dummy = nil;
|
||||||
NSZoneFree(NSDefaultMallocZone(), _indexes);
|
NSZoneFree(NSDefaultMallocZone(), _indexes);
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
}
|
}
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString*)description
|
- (NSString*)description
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
*/
|
*/
|
||||||
|
@ -126,6 +127,7 @@ static Class baseClass;
|
||||||
[self setObservationInfo: nil];
|
[self setObservationInfo: nil];
|
||||||
isa = [self class];
|
isa = [self class];
|
||||||
[self dealloc];
|
[self dealloc];
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (Class) class
|
- (Class) class
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -78,6 +78,7 @@ static NSNull *null = 0;
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSNumber class reference</title>
|
<title>NSNumber class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -54,6 +55,7 @@
|
||||||
{
|
{
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"Attempt to deallocate bool number owned by cache"];
|
format: @"Attempt to deallocate bool number owned by cache"];
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
@implementation GSCachedInt
|
@implementation GSCachedInt
|
||||||
|
@ -65,6 +67,7 @@
|
||||||
{
|
{
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"Attempt to deallocate int number owned by cache"];
|
format: @"Attempt to deallocate int number owned by cache"];
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSPortCoder class reference</title>
|
<title>NSPortCoder class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -302,6 +303,7 @@ typeCheck(char t1, char t2)
|
||||||
{
|
{
|
||||||
TEST_RELEASE(name);
|
TEST_RELEASE(name);
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,7 @@
|
||||||
{
|
{
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"attempt to deallocate default port name server"];
|
format: @"attempt to deallocate default port name server"];
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -592,6 +592,7 @@ typedef enum {
|
||||||
{
|
{
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"attempt to deallocate default port name server"];
|
format: @"attempt to deallocate default port name server"];
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) _lookupName: (NSString*)name onHost: (NSString*)host
|
- (BOOL) _lookupName: (NSString*)name onHost: (NSString*)host
|
||||||
|
|
|
@ -24,7 +24,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSThread class reference</title>
|
<title>NSThread class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -731,6 +732,7 @@ gnustep_base_thread_callback(void)
|
||||||
defaultThread = nil;
|
defaultThread = nil;
|
||||||
}
|
}
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) init
|
- (id) init
|
||||||
|
@ -955,6 +957,7 @@ static NSDate *theFuture;
|
||||||
lock = nil;
|
lock = nil;
|
||||||
}
|
}
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) fire
|
- (void) fire
|
||||||
|
|
|
@ -333,7 +333,7 @@ static NSString *_time_zone_path(NSString *subpath, NSString *type)
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
return; // placeholders never get deallocated.
|
GSNOSUPERDEALLOC; // placeholders never get deallocated.
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithName: (NSString*)name data: (NSData*)data
|
- (id) initWithName: (NSString*)name data: (NSData*)data
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
|
|
||||||
<title>NSUnarchiver class reference</title>
|
<title>NSUnarchiver class reference</title>
|
||||||
$Date$ $Revision$
|
$Date$ $Revision$
|
||||||
|
@ -263,6 +264,7 @@ static SEL dValSel;
|
||||||
RELEASE(name);
|
RELEASE(name);
|
||||||
}
|
}
|
||||||
NSDeallocateObject(self);
|
NSDeallocateObject(self);
|
||||||
|
GSNOSUPERDEALLOC;
|
||||||
}
|
}
|
||||||
- (void) mapToClass: (Class)c withName: (NSString*)n
|
- (void) mapToClass: (Class)c withName: (NSString*)n
|
||||||
{
|
{
|
||||||
|
|
|
@ -597,7 +597,7 @@ static NSLock *placeholderLock;
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
return; // placeholders never get deallocated.
|
GSNOSUPERDEALLOC; // placeholders never get deallocated.
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) getData: (void*)data
|
- (void) getData: (void*)data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue