lua-users home
lua-l archive

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


> On 21/03/2012 21.44, Roberto Ierusalimschy wrote:
> >#define LUA_MAXSHORTLEN         (8 * sizeof(void*))
> 
> Shouldn't it perhaps be better to put it in luaconf.h? Or is it in
> llimits.h because it's supposed to be changed very rarely?

We can change that. (Anyway, that declaration should be guarded
by an #if !defined(LUA_MAXSHORTLEN).)


> A second point: does "should not be larger than 255" mean there is
> no way to disable it and restore the previous behavior?

The complete part is "should not be larger than 255, TO ALLOW FUTURE
CHANGES". At least for now it can be any value.

-- Roberto