[MacRuby-devel] [MacRuby] #438: rb_define_method for MacRuby

MacRuby ruby-noreply at macosforge.org
Tue Nov 24 17:39:55 PST 2009


#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/>



More information about the MacRuby-devel mailing list