On 16 Jan 2014, at 14:52, Mathias Bauer <[email protected]> wrote:
> 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?
Yes, that would be great. Thanks.
Please don't forget to bracket the method declaration in the header file with
the appropriate macro to control visibility to the OSX version in which the new
method was added though.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep