NumArray* a = (NumArray*)luaL_checkudata(L,1,"myarray"); int index = luaL_checkint(L,2) - 1; //2. 由于任何类型的数据都可以成为布尔值,因此 ...
確定! 回上一頁