CoronaLuaDoCall()

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

Overview

Does a protected call (see Lua pcall()) on a function that's on the stack. narg includes the total function and the number of arguments passed to it.

Syntax

int CoronaLuaDoCall( lua_State* L, int narg, int nresults )