lua-users home
lua-l archive

checkversion bug?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello,
I found what looks like a bug in luaL_checkversion_(): it is checking for matching versions by comparing the (lua_Number*) pointers returned from lua_version().
Presumably it should be comparing the numbers stored at those pointers instead. :-)
--
GreyKnight

AltStyle によって変換されたページ (->オリジナル) /