aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-04-11 16:53:45 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-04-11 16:53:45 -0300
commitd99ffa920dadc8ff9ef8cade2436e26d8fa9a6b2 (patch)
treeeae768fa49737e314e36e038bcda791a5fb45ccb /luaconf.h
parent2771050dfa0fe6b2b679a9f91749a1ab19cfe7dd (diff)
downloadlua-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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index cbedd587..68a02fc4 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -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