lua-users home
lua-l archive

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


On Oct 23, 2014, at 8:09 AM, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:

> BTW, these are the main changes from alpha to beta:
> 
> * 'dumpint' and co. replaced by 'string.pack'/'string.unpack'
> * new functions 'lua_geti'/'lua_seti'
> * 'ipairs' stops at first 'nil'
> * 'lua_Ctx' renamed to 'lua_Kcontext'
> * %U gets a long (instead of int)
> * deprecated 'luaL_checkint'/'luaL_optint'/'luaL_checklong'/'luaL_optlong'
> * 'luaL_getmetafield' returns field type
> * 'table.copy' -> 'table.move' (plus change in order of parameters)
> * 'debug.Csize' removed (subsumed by 'string.pack')
> * 'lua_strtonum' -> 'lua_stringtonum'
> * change in handling of non-string error messages in lua.c
> * ANSI mode turns off 64 bits (as 'long long' is not ANSI)
> 
> -- Roberto

One thing I noticed in the diff file from alpha to beta is that the quoting macros have been removed.

Just curious about the reasoning behind the removal of LUA_QL and LUA_QS? I did not change either macro, however, I was extending the functionality they provided with a couple of my own macros.

~pmd