[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_Integer in Lua 5.3
- From: Lourival Vieira Neto <lourival.neto@...>
- Date: Fri, 6 Dec 2013 14:19:22 -0200
>> > Why the message is not "format ‘%PRId32’ expects type ‘int32_t’,
>> > but argument 2 has type ‘int64_t’ ?
>>
>> I think that is because ...
>
> I know that. The question was rhetorical...
Sorry for taking it as a real question.
>> the PRI macros should expand to a character
>> string literal containing a length modifier and the length modifiers
>> are only specified for standard types (that is, non-extended types);
>> as follows:
>>
>> [...]
>
> Note that, according to your own words, you are asking why we are using
> a "standard" type instead of an "extended" one (which is optional even
> in C99).
Yes. I was sincerely interested in this design decision.
Regards,
--
Lourival Vieira Neto
- References:
- Re: lua_Integer in Lua 5.3, Coda Highland
- Re: lua_Integer in Lua 5.3, Philipp Janda
- Re: lua_Integer in Lua 5.3, Lourival Vieira Neto
- Re: lua_Integer in Lua 5.3, Philipp Janda
- Re: lua_Integer in Lua 5.3, Alexander Nasonov
- Re: lua_Integer in Lua 5.3, Lourival Vieira Neto
- Re: lua_Integer in Lua 5.3, Roberto Ierusalimschy
- Re: lua_Integer in Lua 5.3, Lourival Vieira Neto
- Re: lua_Integer in Lua 5.3, Roberto Ierusalimschy
- Re: lua_Integer in Lua 5.3, Lourival Vieira Neto
- Re: lua_Integer in Lua 5.3, Roberto Ierusalimschy