diff options
Diffstat (limited to 'lua.h')
| -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) |
