switch param order for event processing C api