pub fn set_local(state: &mut LuaState, ar: &LuaDebug, n: i32) -> Option<Vec<u8>>Expand description
Sets local variable n in call frame ar->i_ci to the value on top of the
stack. Pops the value and returns the variable name, or returns None.
C: LUA_API const char *lua_setlocal(lua_State *L, const lua_Debug *ar, int n)