lua-users home
lua-l archive

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


Hello Luiz,

Monday, June 8, 2009, 4:21:26 PM, you wrote:

>> It just seemed like an API function would be more appropriate than
>> querying the _VERSION global.

> Sure. We intend to add a lua_checkversion(L) API function in 5.2 that
> will check that the Lua used to compile the client and the one used in
> the Lua core linked to the app are the same

in more complex scenarios function that just returns version will be
required. and luaL_checkversion may be implemented on the top of it

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@gmail.com