1.lua_pushvalue(L, 2); 把peer表復制壓進棧頂此時虛擬棧:stack: u, p, p. 2.lua_setfenv(L, -3); -3是u的位置,相當於把棧頂元素peer設置為u的環境 ...
確定! 回上一頁