diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-08-20 16:10:54 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-08-20 16:10:54 -0300 |
| commit | 06c5d3825f03eafc90b56d43f70f70048b785bc8 (patch) | |
| tree | 0b418c4a9ac5a53a6ca39bf258bb046de1fc6749 /lua.h | |
| parent | c345877e4c2588324d9a1e5655e8f48200ba2e5e (diff) | |
| download | lua-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.h | 7 |
1 files changed, 0 insertions, 7 deletions
| @@ -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) |
