CoronaLuaRuntimeDispatchEvent()

Revision Release 2022.3683
Keywords iOS, Solar2D Native, C, CoronaLua.h, CoronaLuaRuntimeDispatchEvent
See also CoronaLua.h
Corona C Functions

Overview

Invokes the equivalent of Runtime:dispatchEvent( event ) with the event object at index. The object at index must be a Lua table with the name property set to the event type.

Gotchas

The event object at index is left on the stack.

Syntax

void CoronaLuaRuntimeDispatchEvent( lua_State *L, int index )