[MacRuby-devel] NSNumber Numeric Patch

Jonathan deWerd jjoonathan at gmail.com
Sat Nov 29 13:20:21 PST 2008


> Thread about patch that adds Numeric methods directly to NSNumbers
Just caught a "todo" as I was looking through the code. NSNumbers  
returned from objc methods are (sometimes not?) converted to ruby  
objects. That code would be unnecessary, since the conversion will  
happen automatically. In effect, my patch did the "TODO" item in the  
code :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_ruby_ruby.h.diff
Type: application/octet-stream
Size: 815 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20081129/e8aabd55/attachment.obj>
-------------- next part --------------



This patch nukes the appropriate code (the tests and my app seem to be  
unaffected, which is a good sign). Needless to say, it probably won't  
work very well if applied before my other patch to numeric.c.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1748 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20081129/e8aabd55/attachment.bin>


More information about the MacRuby-devel mailing list