mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Implement -scanInteger: by either calling -scanInt: or -scanLongLong: based on the pointer size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37612 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5470bb0efa
commit
69c760f949
2 changed files with 11 additions and 1 deletions
|
@ -1146,7 +1146,11 @@ typedef GSString *ivars;
|
|||
}
|
||||
- (BOOL) scanInteger: (NSInteger *)value
|
||||
{
|
||||
return NO; // FIXME
|
||||
#if GS_SIZEOF_VOIDP < 8
|
||||
return [self scanInt: value];
|
||||
#else
|
||||
return [self scanLongLong: value];
|
||||
#endif
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue