... 0); /* 压入第二个upvalue */ lua_pushcclosure(L, cclosure, 2); /* 压入闭包的同时也把upvalue置入该闭包的upvalue表*/ return 1; /* 返回闭包*/ }
確定! 回上一頁