Revision Release 2024.3703 Keywords iOS, Solar2D Native, C, CoronaLua.h, CoronaLuaNewRef See also CoronaLua.h Corona C Functions
Returns a new CoronaLuaRef
object which holds a reference to the Lua object on the Lua stack at index
. You can use this to store and access Lua objects from native code.
CoronaLuaRef CoronaLuaNewRef( lua_State *L, int index )