Hi,

I discovered that NSScanner misses some "scan..." methods. At least in one case it should be trivial to add it:

- (BOOL) scanInteger: (NSInteger *)value
{
        long long result;
        BOOL ret = [self scanLongLong:&result];
        if (value && ret)
                *value = (NSInteger)result;
        return ret;
}

Would it be possible to add this as a patch?

Regards,
Mathias

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to