| 4633 | |
| 4634 | |
| 4635 | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n) { |
| 4636 | CallInfo *ci = L->base_ci + ar->i_ci; |
| 4637 | const char *name = findlocal(L, ci, n); |
| 4638 | lua_lock(L); |
| 4639 | if (name) |
| 4640 | luaA_pushobject(L, ci->base + (n - 1)); |
| 4641 | lua_unlock(L); |
| 4642 | return name; |
| 4643 | } |
| 4644 | |
| 4645 | |
| 4646 | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n) { |
no test coverage detected