如预期的一样,lua_pushcclosure将新的闭包放到栈内,因此闭包已经作为newCounter的结果被返回。 现在,我们看看counter的定义:. static int counter (lua_State * ...
確定! 回上一頁