printf_s("%s\n",lua_tostring(L,-1)); //彈出這條錯誤信息,第二個參數是從棧頂彈出元素的個數 lua_pop(L,1); } //執行代碼塊,並將代碼塊彈出棧
確定! 回上一頁