mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 10:30:47 +00:00
Tidied encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3092 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c37ffbd383
commit
5049319df5
1 changed files with 2 additions and 2 deletions
|
@ -176,13 +176,13 @@
|
||||||
- (void) encodeWithCoder:(NSCoder*)coder
|
- (void) encodeWithCoder:(NSCoder*)coder
|
||||||
{
|
{
|
||||||
[super encodeWithCoder:coder];
|
[super encodeWithCoder:coder];
|
||||||
[coder encodeValueOfObjCType:"d" at:&seconds_since_ref];
|
[coder encodeValueOfObjCType:@encode(NSTimeInterval) at:&seconds_since_ref];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithCoder:(NSCoder*)coder
|
- (id) initWithCoder:(NSCoder*)coder
|
||||||
{
|
{
|
||||||
self = [super initWithCoder:coder];
|
self = [super initWithCoder:coder];
|
||||||
[coder decodeValueOfObjCType:"d" at:&seconds_since_ref];
|
[coder decodeValueOfObjCType:@encode(NSTimeInterval) at:&seconds_since_ref];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue