mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
rather useless changes to keep testsuite happy on osx compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29885 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
82a47f512d
commit
811f447efe
2 changed files with 22 additions and 0 deletions
|
@ -556,6 +556,17 @@ static NSDictionary *makeReference(unsigned ref)
|
|||
return _delegate;
|
||||
}
|
||||
|
||||
- (NSString*) description
|
||||
{
|
||||
if (_data == nil)
|
||||
{
|
||||
// For consistency with OSX
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"method sent to uninitialised archiver"];
|
||||
}
|
||||
return [super description];
|
||||
}
|
||||
|
||||
- (void) encodeArrayOfObjCType: (const char*)aType
|
||||
count: (NSUInteger)aCount
|
||||
at: (const void*)address
|
||||
|
|
|
@ -749,6 +749,17 @@ static NSMapTable *globalClassMap = 0;
|
|||
return _delegate;
|
||||
}
|
||||
|
||||
- (NSString*) description
|
||||
{
|
||||
if (_archive == nil)
|
||||
{
|
||||
// For consistency with OSX
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"method sent to uninitialised unarchiver"];
|
||||
}
|
||||
return [super description];
|
||||
}
|
||||
|
||||
- (void) finishDecoding
|
||||
{
|
||||
[_delegate unarchiverWillFinish: self];
|
||||
|
|
Loading…
Reference in a new issue