new type 'LUAI_UACINT' (result of an 'usual argument conversion' of

a lua_Integer)
This commit is contained in:
Roberto Ierusalimschy
2014-04-11 16:53:45 -03:00
parent 2771050dfa
commit d99ffa920d
2 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.194 2014/04/03 14:18:02 roberto Exp $
** $Id: luaconf.h,v 1.195 2014/04/09 17:05:11 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -529,6 +529,8 @@
**
@@ LUA_UNSIGNED is the unsigned version of LUA_INTEGER.
**
@@ LUAI_UACINT is the result of an 'usual argument conversion'
@* over a lUA_INTEGER.
@@ LUA_INTEGER_FRMLEN is the length modifier for reading/writing integers.
@@ LUA_INTEGER_SCAN is the format for reading integers.
@@ LUA_INTEGER_FMT is the format for writing integers.
@@ -573,6 +575,8 @@
#define LUA_MAXINTEGER ((LUA_INTEGER)(~(LUA_UNSIGNED)0 >> 1))
#define LUA_MININTEGER ((LUA_INTEGER)~(~(LUA_UNSIGNED)0 >> 1))
#define LUAI_UACINT LUA_INTEGER
/* }================================================================== */