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

Function lua_lessthan

other_src/lua/src/lapi.cpp:300–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298
299
300LUA_API int lua_lessthan (lua_State *L, int index1, int index2) {
301 StkId o1, o2;
302 int i;
303 lua_lock(L); /* may call tag method */
304 o1 = index2adr(L, index1);
305 o2 = index2adr(L, index2);
306 i = (o1 == luaO_nilobject || o2 == luaO_nilobject) ? 0
307 : luaV_lessthan(L, o1, o2);
308 lua_unlock(L);
309 return i;
310}
311
312
313

Callers

nothing calls this directly

Calls 2

index2adrFunction · 0.70
luaV_lessthanFunction · 0.70

Tested by

no test coverage detected