读取变量 lua_getglobal(L,"str"); string str = lua_tostring(L,-1); cout<<"str ... 读取函数 lua_getglobal(L, "add"); // 获取函数,压入栈中 ...
確定! 回上一頁