[MacRuby] #876: EXC_BAD_ACCESS using IOBluetooth

MacRuby ruby-noreply at macosforge.org
Fri Jan 28 00:43:48 PST 2011


#876: EXC_BAD_ACCESS using IOBluetooth
-------------------------------------------+--------------------------------
 Reporter:  matt.wizeman@…                 |        Owner:  mattaimonetti@…        
     Type:  defect                         |       Status:  closed                 
 Priority:  critical                       |    Milestone:  MacRuby 0.9            
Component:  MacRuby                        |   Resolution:  invalid                
 Keywords:                                 |  
-------------------------------------------+--------------------------------

Comment(by mattaimonetti@…):

 oops I realized there was a typo the pasted code:

 {{{
 def openL2CAPChannelWithPSM(psm, delegate:delegate)
                 @channel = Pointer.new_with_type("@")

                 if (@wiiDevice.openL2CAPChannelSync(@channel, withPSM:psm,
 delegate:delegate) != KIOReturnSuccess)
                         closeConnection
                         return nil
                 end

                 channel[0]
         end
 }}}

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



More information about the macruby-tickets mailing list