MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_absindex

Function lua_absindex

emmy_debugger/src/api/lua_api.cpp:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#if defined(EMMY_LUA_51) || defined(EMMY_LUA_JIT)
21#include "emmy_debugger/api/lua_api.h"
22int lua_absindex(lua_State *L, int idx) {
23 if (idx > 0) {
24 return idx;
25 }
26 return lua_gettop(L) + idx + 1;
27}
28#ifndef EMMY_LUA_JIT_SUPPORT_LUA_SETFUNCS
29void luaL_setfuncs(lua_State* L, const luaL_Reg* l, int nup) {
30 for (; l->name != nullptr; l++) {

Callers 2

GetVariableMethod · 0.50
QueryVariableGenericMethod · 0.50

Calls 1

lua_gettopFunction · 0.50

Tested by

no test coverage detected