mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +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
f9ce7b42ab
commit
890486a0b8
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…
Reference in a new issue