lua-users home
lua-l archive

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


>>>>> "Roberto" == Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:

 >> You BROKE THE ABI with this version by adding a parameter to an
 >> existing function (lua_resetthread).
 >> 
 >> A program compiled against 5.4.(0-4) run against a shared library
 >> from 5.4.5 will therefore almost certainly crash, and despite my
 >> previous protests on this matter, there is no sane way for a program
 >> to detect the minor version of the library that it has been linked
 >> to. (And luaL_checkversion won't detect this mismatch.)

 Roberto> Just to understand correctly: the program would "almost
 Roberto> certainly crash" or it could crash only if it called
 Roberto> lua_resetthread?

Obviously if it calls lua_resetthread.

-- 
Andrew.