lua-users home
lua-l archive

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

> 2) change semantics of lua modifier %x to mean
> "Show lua number with hex digits".

We have followed that option (as much as possible). luaconf.h now

@@ LUA_INTFRMLEN is the length modifier for integer conversions
@* in 'string.fomat'.
@@ LUA_INTFRM_T is the integer type correspoding to the previous length
@* modifier.
** CHANGE them if your system supports long long or does not support long.

By default, LUA_INTFRMLEN is "l" and LUA_INTFRM_T is long, but the first
can be "ll" or "I64" (or "") and the second long long (or int).

-- Roberto