Projects
Home     Blog     Install     New Ticket     View Tickets     Browse Source

Ticket #105 (new defect)

Opened 4 months ago

Last modified 3 months ago

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

Changed 3 months ago by lsansonetti@…

  • milestone changed from MacRuby 0.3 to MacRuby 0.4
Note: See TracTickets for help on using tickets.