[MacRuby] #1485: Using MacRuby to invoke a Obj-C variadic method leads crash

MacRuby ruby-noreply at macosforge.org
Fri Mar 23 22:16:52 PDT 2012


#1485: Using MacRuby to invoke a Obj-C variadic method leads crash
--------------------------------+-------------------------------------------
 Reporter:  xareelee@…          |        Owner:  lsansonetti@…        
     Type:  defect              |       Status:  closed               
 Priority:  blocker             |    Milestone:                       
Component:  MacRuby             |   Resolution:  invalid              
 Keywords:  variadic method     |  
--------------------------------+-------------------------------------------
Changes (by watson1978@…):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Please add NS_REQUIRES_NIL_TERMINATION into declaration of Foo.log. [[BR]]
 And create Bridge Support file using gen_bridge_metadata command.

 MacRuby cannot know without Bridge Support file what Foo.log method has
 variable length arguments.

 I tried your code with https://gist.github.com/2178472
 Please see it :)

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1485#comment:2>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list