[MacRuby-devel] [MacRuby] #376: The second 'pointer' of a double pointer type is ignored

MacRuby ruby-noreply at macosforge.org
Fri Jun 11 18:26:40 PDT 2010


#376: The second 'pointer' of a double pointer type is ignored
---------------------------------+------------------------------------------
 Reporter:  mred@…               |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  blocker              |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------

Comment(by martinlagardette@…):

 It's not that it's ignored.

 The thing is that `musicPlayer[0]` is a pointer to `{OpaqueMusicPlayer}`,
 but your bridgesupport file doesn't give any information on how
 `{OpaqueMusicPlayer}` is defined (it doesn't say either it's an opaque
 struct, or how the struct is defined).

 By the way, `type` not returning `^^` doesn't mean it's not a double
 pointer. By default, `type` returns the type it points to, just like the
 argument.

 I guess we should close this bug?

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



More information about the MacRuby-devel mailing list