CoronaLuaRuntimeDispatchEvent()

Revision Current Public Release (2018.3326)
Keywords iOS, Corona 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 )