[MacRuby] #934: passing Dispatch::Queue#dispatch_object to FSEventStreamSetDispatchQueue fails

MacRuby ruby-noreply at macosforge.org
Wed Oct 6 10:44:50 PDT 2010


#934: passing Dispatch::Queue#dispatch_object to FSEventStreamSetDispatchQueue
fails
---------------------------+------------------------------------------------
 Reporter:  haxie1@…       |       Owner:  lsansonetti@…        
     Type:  defect         |      Status:  new                  
 Priority:  blocker        |   Milestone:                       
Component:  MacRuby        |    Keywords:                       
---------------------------+------------------------------------------------
 Using:
 {{{
 ...
 queue = Dispatch::Queue.new("myQueue")
 FSEventStreamSetDispatchQueue(stream, queue.dispatch_object)
 }}}

 I get:
 expected instance of Pointer of type `{dispatch_queue_s=}', got `C'
 (TypeError)

 I am using the latest 0.8 nightly (10/6/2010).

 Regards,

 kam

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/934>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list