Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

luaL_checkversion

Philipp Janda edited this page Mar 9, 2015 · 2 revisions

luaL_checkversion

The Lua 5.2 function luaL_checkversion makes sure that there is only one Lua library linked to an extension module, and that this library has the same version that was used during compilation of the extension module. The compatiblity implementation is empty, so it doesn't do either of those checks. It simply makes your code compile if you use this function in your extension module code.

Clone this wiki locally