... var's value lua_pop(state, 1); } return 0; }如果在局变量中搜不,还得使用lua_getglobal 进行全局变量的搜,这个API实际上是一个,据传的key进 GLOBAL 找变量。
確定! 回上一頁