if (luaL_checkudata(L, lua_gettop(L), T::className)) return;. So, if it succeeds and finds the userdata, return immediately. Else, go ahead ...
確定! 回上一頁