void lua_getglobal(lua_State * L ,const char * name). 此函数从lua中取出一个名为name的全局变量并将其压入栈中。 如当lua文件内容为. width = 200 height = 300.
確定! 回上一頁