lua-users home
lua-l archive

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

Thanks for prompt resolution.
Is this will be available in 5.0?
And where I can get the code from?

Best regards,

On Wed, 14 Dec 2005 18:21:04 +0200, Roberto Ierusalimschy <> wrote:

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