lua_upvalueindex (int index): 生成upvalue的伪索引,可以像其他栈索引一样使用,不同的是它不在栈上index不能为负数示例1:不断增加的counter.
確定! 回上一頁