MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_equal

Function lua_equal

other_src/lua/src/lapi.cpp:288–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286
287
288LUA_API int lua_equal (lua_State *L, int index1, int index2) {
289 StkId o1, o2;
290 int i;
291 lua_lock(L); /* may call tag method */
292 o1 = index2adr(L, index1);
293 o2 = index2adr(L, index2);
294 i = (o1 == luaO_nilobject || o2 == luaO_nilobject) ? 0 : equalobj(L, o1, o2);
295 lua_unlock(L);
296 return i;
297}
298
299
300LUA_API int lua_lessthan (lua_State *L, int index1, int index2) {

Callers 2

jointableFunction · 0.70
findbackFunction · 0.70

Calls 1

index2adrFunction · 0.70

Tested by

no test coverage detected