mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +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
|
||||
{
|
||||
[super encodeWithCoder:coder];
|
||||
[coder encodeValueOfObjCType:"d" at:&seconds_since_ref];
|
||||
[coder encodeValueOfObjCType:@encode(NSTimeInterval) at:&seconds_since_ref];
|
||||
}
|
||||
|
||||
- (id) initWithCoder:(NSCoder*)coder
|
||||
{
|
||||
self = [super initWithCoder:coder];
|
||||
[coder decodeValueOfObjCType:"d" at:&seconds_since_ref];
|
||||
[coder decodeValueOfObjCType:@encode(NSTimeInterval) at:&seconds_since_ref];
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue