[MacRuby-devel] [MacRuby] #178: ArgumentError Exception: can't convert C/Objective-C value of type `[4d]' to Ruby object

MacRuby ruby-noreply at macosforge.org
Tue Jan 20 12:21:32 PST 2009


#178: ArgumentError Exception: can't convert C/Objective-C value of type `[4d]'
to Ruby object
---------------------------------+------------------------------------------
 Reporter:  dognotdog@…          |       Owner:  lsansonetti@…              
     Type:  defect               |      Status:  new                        
 Priority:  major                |   Milestone:                             
Component:  MacRuby              |    Keywords:  ArgumentError array convert
---------------------------------+------------------------------------------

Comment(by dognotdog@…):

 The submitted patch seems to work for types as described above, though
 they stay opaque to MacRuby. It would be nice to have non-opaque bridging
 as well, for example by being able to supply values for methods taking
 {_vt=[4d]} as a parameter via a plain ruby array of the right size.

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



More information about the MacRuby-devel mailing list