From 798660c9cddef8a73f68058576e3d47eed2b1a27 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 1 Oct 2014 08:54:56 -0300 Subject: deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) --- lua.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index a092f829..0443c9d4 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.313 2014/08/01 17:33:08 roberto Exp roberto $ +** $Id: lua.h,v 1.314 2014/08/21 20:07:56 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -379,7 +379,7 @@ LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); ** compatibility macros for unsigned conversions ** =============================================================== */ -#if defined(LUA_COMPAT_APIUNSIGNED) +#if defined(LUA_COMPAT_APIINTCASTS) #define lua_pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n)) #define lua_tounsignedx(L,i,is) ((lua_Integer)lua_tointegerx(L,i,is)) -- cgit v1.2.3-55-g6feb