... 把我們寫好的lua文件檔引進,供c來調用lua_getglobal( ls, "Hanoi" ) //在lua的全域變數列表中尋找Hanoi名稱, lua_pushnumber 或lua_pushstring //都是將c的參數 ...
確定! 回上一頁