[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (alpha) now available
- From: Patrick Donnelly <batrick@...>
- Date: Tue, 16 Nov 2010 09:24:11 -0500
On Tue, Nov 16, 2010 at 8:15 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> All feedback welcome. Thanks.
o luaL_prepbuffsize, luaL_pushresultsize, luaL_buffinitsize,
luaL_pushmodule, luaL_openlib, luaL_newlibtable, luaL_findtable
undocumented.
o Undocumented and unknown purpose at the end of lauxlib.h:
/* compatibility with ref system */
/* pre-defined references */
#define LUA_NOREF (-2)
#define LUA_REFNIL (-1)
#define lua_ref(L,lock) ((lock) ? luaL_ref(L, LUA_REGISTRYINDEX) : \
(lua_pushstring(L, "unlocked references are obsolete"), lua_error(L), 0))
#define lua_unref(L,ref) luaL_unref(L, LUA_REGISTRYINDEX, (ref))
#define lua_getref(L,ref) lua_rawgeti(L, LUA_REGISTRYINDEX, (ref))
#define luaL_reg luaL_Reg
--
- Patrick Donnelly