#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/>