diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-01 08:54:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-01 08:54:56 -0300 |
commit | 798660c9cddef8a73f68058576e3d47eed2b1a27 (patch) | |
tree | a0aef60fd2f6910ea7ecf6be127f9035e9ce3e07 /luaconf.h | |
parent | 34b6664dcb28b18ca3f08ed5e36da094b007eb7b (diff) | |
download | lua-798660c9cddef8a73f68058576e3d47eed2b1a27.tar.gz lua-798660c9cddef8a73f68058576e3d47eed2b1a27.tar.bz2 lua-798660c9cddef8a73f68058576e3d47eed2b1a27.zip |
deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.212 2014/07/24 19:33:29 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.213 2014/08/01 17:33:08 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 | */ |
@@ -311,10 +311,11 @@ | |||
311 | #define LUA_COMPAT_IPAIRS | 311 | #define LUA_COMPAT_IPAIRS |
312 | 312 | ||
313 | /* | 313 | /* |
314 | @@ LUA_COMPAT_APIUNSIGNED controls the presence of macros for | 314 | @@ LUA_COMPAT_APIINTCASTS controls the presence of macros for |
315 | ** manipulating unsigned integers (lua_pushunsigned, lua_tounsigned, etc.) | 315 | ** manipulating other integer types (lua_pushunsigned, lua_tounsigned, |
316 | ** luaL_checkint, luaL_checklong, etc.) | ||
316 | */ | 317 | */ |
317 | #define LUA_COMPAT_APIUNSIGNED | 318 | #define LUA_COMPAT_APIINTCASTS |
318 | 319 | ||
319 | 320 | ||
320 | /* | 321 | /* |