|
From: | Amr Aboelela |
Subject: | Re: [NSNumber numberWithFloat:] issue |
Date: | Fri, 20 Feb 2015 11:10:54 -0800 |
Amr, can you try again with the latest version from SVN? I believe I found a fairly simple way to test for small objects. I would still welcome some kind of test to include in the test suite so that we do not mess this up in the future.On Wed, Feb 18, 2015 at 6:16 PM, Amr Aboelela <amraboelela@gmail.com> wrote:_______________________________________________Hello,I found that [NSNumber numberWithFloat:] is not toll free bridged with CoreFoundationif you do CFRetain on an object result from [NSNumber numberWithFloat:] it will crash, and if you do a retainCount on it, it will always give you -1I feel suspicious about this line:return boxDouble(aValue, SMALL_FLOAT_MASK);
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
[Prev in Thread] | Current Thread | [Next in Thread] |