CoronaLuaDispatchEvent()

Revision Release 2024.3703
Keywords iOS, Solar2D Native, C, CoronaLua.h, CoronaLuaDispatchEvent
See also CoronaLua.h
Corona C Functions

Overview

Invokes the listener corresponding to listenerRef, passing the value at the top of the stack as the Corona event table. You should use CoronaLuaNewEvent() to create this event. This function pops the value from the top of the stack.

Syntax

void CoronaLuaDispatchEvent( lua_State *L, CoronaLuaRef listenerRef, int nresults )