discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Missing implementations in NSScanner class


From: Mathias Bauer
Subject: Missing implementations in NSScanner class
Date: Thu, 16 Jan 2014 15:52:16 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]