[macruby] #105: BridgeSupport can't convert KCGSessionEventTap as an argument for CGEventTapCreate
#105: BridgeSupport can't convert KCGSessionEventTap as an argument for CGEventTapCreate --------------------------------------+------------------------------------- Reporter: juanger@ciencias.unam.mx | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.3 Component: MacRuby | Keywords: --------------------------------------+------------------------------------- When running the following code: {{{ #!ruby eventTap = CGEventTapCreate(KCGSessionEventTap, KCGHeadInsertEventTap, 0, eventMask, @callback, nil) }}} It exits and displays the following error: {{{ `CGEventTapCreate': can't convert Ruby object `1' to Objective-C value of type `^{__CGEventTapProxy=}' (ArgumentError) }}} Also, the callback function, passed as a lambda can't be converted. -- Ticket URL: <https://www.macruby.org/trac/ticket/105> macruby <http://macruby.org/>
#105: BridgeSupport can't convert KCGSessionEventTap as an argument for CGEventTapCreate --------------------------------------+------------------------------------- Reporter: juanger@ciencias.unam.mx | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.4 Component: MacRuby | Resolution: Keywords: | --------------------------------------+------------------------------------- Changes (by lsansonetti@apple.com): * milestone: MacRuby 0.3 => MacRuby 0.4 -- Ticket URL: <http://www.macruby.org/trac/ticket/105#comment:1> MacRuby <http://macruby.org/>
participants (2)
-
macruby
-
MacRuby