diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-04-11 16:53:45 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-04-11 16:53:45 -0300 |
commit | d99ffa920dadc8ff9ef8cade2436e26d8fa9a6b2 (patch) | |
tree | eae768fa49737e314e36e038bcda791a5fb45ccb /luaconf.h | |
parent | 2771050dfa0fe6b2b679a9f91749a1ab19cfe7dd (diff) | |
download | lua-d99ffa920dadc8ff9ef8cade2436e26d8fa9a6b2.tar.gz lua-d99ffa920dadc8ff9ef8cade2436e26d8fa9a6b2.tar.bz2 lua-d99ffa920dadc8ff9ef8cade2436e26d8fa9a6b2.zip |
new type 'LUAI_UACINT' (result of an 'usual argument conversion' of
a lua_Integer)
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.194 2014/04/03 14:18:02 roberto Exp $ | 2 | ** $Id: luaconf.h,v 1.195 2014/04/09 17:05:11 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -529,6 +529,8 @@ | |||
529 | ** | 529 | ** |
530 | @@ LUA_UNSIGNED is the unsigned version of LUA_INTEGER. | 530 | @@ LUA_UNSIGNED is the unsigned version of LUA_INTEGER. |
531 | ** | 531 | ** |
532 | @@ LUAI_UACINT is the result of an 'usual argument conversion' | ||
533 | @* over a lUA_INTEGER. | ||
532 | @@ LUA_INTEGER_FRMLEN is the length modifier for reading/writing integers. | 534 | @@ LUA_INTEGER_FRMLEN is the length modifier for reading/writing integers. |
533 | @@ LUA_INTEGER_SCAN is the format for reading integers. | 535 | @@ LUA_INTEGER_SCAN is the format for reading integers. |
534 | @@ LUA_INTEGER_FMT is the format for writing integers. | 536 | @@ LUA_INTEGER_FMT is the format for writing integers. |
@@ -573,6 +575,8 @@ | |||
573 | #define LUA_MAXINTEGER ((LUA_INTEGER)(~(LUA_UNSIGNED)0 >> 1)) | 575 | #define LUA_MAXINTEGER ((LUA_INTEGER)(~(LUA_UNSIGNED)0 >> 1)) |
574 | #define LUA_MININTEGER ((LUA_INTEGER)~(~(LUA_UNSIGNED)0 >> 1)) | 576 | #define LUA_MININTEGER ((LUA_INTEGER)~(~(LUA_UNSIGNED)0 >> 1)) |
575 | 577 | ||
578 | #define LUAI_UACINT LUA_INTEGER | ||
579 | |||
576 | /* }================================================================== */ | 580 | /* }================================================================== */ |
577 | 581 | ||
578 | 582 | ||