[MacRuby] #438: rb_define_method for MacRuby
#438: rb_define_method for MacRuby ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: enhancement | Status: new Priority: trivial | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: rb_define_method ------------------------------+--------------------------------------------- I created the patch for MacRuby that is implemented rb_define_method for MacRuby. Please review it and want to include it in MacRuby. -- Ticket URL: <http://www.macruby.org/trac/ticket/438> MacRuby <http://macruby.org/>
#438: rb_define_method for MacRuby ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: enhancement | Status: new Priority: trivial | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: rb_define_method ------------------------------+--------------------------------------------- Comment(by lsansonetti@…): Sorry for the late reply. This patch is unfortunately not good, because the functions do not conform to the Objective-C ABI anymore (first argument should be the receiver and second should be the selector). A better way would be to implement rb_define_method so that it creates a stub using LLVM. -- Ticket URL: <http://www.macruby.org/trac/ticket/438#comment:1> MacRuby <http://macruby.org/>
#438: rb_define_method for MacRuby ------------------------------+--------------------------------------------- Reporter: kouji@… | Owner: lsansonetti@… Type: enhancement | Status: closed Priority: trivial | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: rb_define_method | ------------------------------+--------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: MacRuby 0.5 => MacRuby 0.6 Comment: rb_define_method() is now supported as of r3474. Functions defined using the MRI ABI will be handled by MacRuby. -- Ticket URL: <http://www.macruby.org/trac/ticket/438#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby