Ticket #105 (new defect)
BridgeSupport can't convert KCGSessionEventTap as an argument for CGEventTapCreate
| Reported by: | juanger@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.4 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
When running the following code:
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.
Change History
Note: See
TracTickets for help on using
tickets.

