CoronaLuaEqualRef()

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

Overview

Returns 1 if the Lua value represented by ref is equal to the value at index, following the semantics of the Lua == operator (that is, may call metamethods). Otherwise returns 0. Also returns 0 if index is invalid.

Syntax

int CoronaLuaEqualRef( lua_State *L, CoronaLuaRef ref, int index )