[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problem with string.format in lua 5.0 & 5.1
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 14 Dec 2005 14:21:04 -0200
> 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
defines:
/*
@@ 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