[MacRuby-devel] [MacRuby] #131: Dictionary arg not accepted
MacRuby
ruby-noreply at macosforge.org
Tue Sep 16 11:41:34 PDT 2008
#131: Dictionary arg not accepted
---------------------------------+------------------------------------------
Reporter: francois at antier.org | Owner: lsansonetti at apple.com
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.4
Component: MacRuby | Resolution:
Keywords: |
---------------------------------+------------------------------------------
Comment(by lsansonetti at apple.com):
So, NSDictionary** means that this argument is returned by reference.
Currently this is not implemented in MacRuby, so I will keep this ticket
open until it's fixed.
In the meantime you can pass "nil", which is the Objective-C nil
equivalent (so, C's NULL). Passing 0 will not work, because 0 in Ruby is a
fixnum (numeric) object.
--
Ticket URL: <http://www.macruby.org/trac/ticket/131#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list