aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2025-08-20 16:10:54 -0300
committerRoberto I <roberto@inf.puc-rio.br>2025-08-20 16:10:54 -0300
commit06c5d3825f03eafc90b56d43f70f70048b785bc8 (patch)
tree0b418c4a9ac5a53a6ca39bf258bb046de1fc6749 /lua.h
parentc345877e4c2588324d9a1e5655e8f48200ba2e5e (diff)
downloadlua-06c5d3825f03eafc90b56d43f70f70048b785bc8.tar.gz
lua-06c5d3825f03eafc90b56d43f70f70048b785bc8.tar.bz2
lua-06c5d3825f03eafc90b56d43f70f70048b785bc8.zip
Removed code for compatibility with version 5.3
Diffstat (limited to '')
-rw-r--r--lua.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lua.h b/lua.h
index 131a8fcb..ab473dc3 100644
--- a/lua.h
+++ b/lua.h
@@ -432,13 +432,6 @@ LUA_API void (lua_closeslot) (lua_State *L, int idx);
432** compatibility macros 432** compatibility macros
433** =============================================================== 433** ===============================================================
434*/ 434*/
435#if defined(LUA_COMPAT_APIINTCASTS)
436
437#define lua_pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
438#define lua_tounsignedx(L,i,is) ((lua_Unsigned)lua_tointegerx(L,i,is))
439#define lua_tounsigned(L,i) lua_tounsignedx(L,(i),NULL)
440
441#endif
442 435
443#define lua_newuserdata(L,s) lua_newuserdatauv(L,s,1) 436#define lua_newuserdata(L,s) lua_newuserdatauv(L,s,1)
444#define lua_getuservalue(L,idx) lua_getiuservalue(L,idx,1) 437#define lua_getuservalue(L,idx) lua_getiuservalue(L,idx,1)