lua-users home
lua-l archive

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


Hi,

On Thu, 8 Dec 2011, Luiz Henrique de Figueiredo wrote:

Lua 5.2.0 (rc7) is now available at
	http://www.lua.org/work/lua-5.2.0-rc7.tar.gz

MD5	a6800bd9ce1ed2c1cb3f9825152ab201  -
SHA1	047ad8603f089855de0b5d8f8c757500583bf348  -

The main changes in Lua 5.2 are listed in
	http://www.lua.org/work/doc/#changes

The complete diffs from rc6 to rc7 are available at
	http://www.lua.org/work/diffs-lua-5.2.0-rc6-rc7.txt

A test suite is available at
	http://www.lua.org/tests/5.2/

This release candidate will be the final version of Lua 5.2.0 if
no glitches are found by Monday.

In section 6 (Standard libraries) of the documentation it says:

"These functions are declared in lualib.h and should not be called directly: you must call them like any other Lua C function, e.g., by using lua_call."

I had to use the new luaL_requiref() instead of the old lua_pushcfunction(), lua_pushstring(), lua_call(). If this is the right way to do it now, could you please update the documentation to reflect this?

Thanks,
mitchell