Issue 779285: Carbon Event ReceiveNextEvent (original) (raw)
Carbon event, ReceiveNextEvent has an inList variable (const EventTypeSpec *inList) which can be specified as Null "if any event should cause this function to return." I've tried passing ReceiveNextEvent a 0, None/NULL an empty tuple/length two array, but it either throws an error, "TypeError: argument must be 2-item sequence, not None" or "int" or throws error type -9875. I looked at _CarbonEvtModule.c and it doesn't look like I can pass ReceiveNextEvent a Null because it demands a type of EventTypeSpec.