peek()应该保留栈顶的项目。
指令PULL或者PARSE PULL从栈顶取得一个字符串。
The instruction PULL or PARSE PULL take a string off the top of the stack.
然后,lua_setglobal函数将栈顶的值赋给一个有名称的全局变量。
The lua_setglobal function then assigns the top value on the stack to a named global variable.
然后,lua_setglobal函数将栈顶的值赋给一个有名称的全局变量。
The lua_setglobal function then assigns the top value on the stack to a named global variable.
应用推荐