mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
05b4129355
commit
dbed918201
2 changed files with 22 additions and 0 deletions
|
@ -556,6 +556,17 @@ static NSDictionary *makeReference(unsigned ref)
|
||||||
return _delegate;
|
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
|
- (void) encodeArrayOfObjCType: (const char*)aType
|
||||||
count: (NSUInteger)aCount
|
count: (NSUInteger)aCount
|
||||||
at: (const void*)address
|
at: (const void*)address
|
||||||
|
|
|
@ -749,6 +749,17 @@ static NSMapTable *globalClassMap = 0;
|
||||||
return _delegate;
|
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
|
- (void) finishDecoding
|
||||||
{
|
{
|
||||||
[_delegate unarchiverWillFinish: self];
|
[_delegate unarchiverWillFinish: self];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue