diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-06-26 15:38:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-06-26 15:38:28 -0300 |
commit | a77d263e86feea55529800028f960d7124c1385f (patch) | |
tree | 88bc21289c5ef341a7f3509c067524fea7003049 /ltests.c | |
parent | 7cc40851e1d1a18a4c45fca31dbccd4206050b11 (diff) | |
download | lua-a77d263e86feea55529800028f960d7124c1385f.tar.gz lua-a77d263e86feea55529800028f960d7124c1385f.tar.bz2 lua-a77d263e86feea55529800028f960d7124c1385f.zip |
unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)
deprecated
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.172 2014/06/17 17:13:29 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.173 2014/06/19 18:29:30 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1263,9 +1263,6 @@ static struct X { int x; } x; | |||
1263 | const char *s1 = lua_pushstring(L1, s); | 1263 | const char *s1 = lua_pushstring(L1, s); |
1264 | lua_assert((s == NULL && s1 == NULL) || (strcmp)(s, s1) == 0); | 1264 | lua_assert((s == NULL && s1 == NULL) || (strcmp)(s, s1) == 0); |
1265 | } | 1265 | } |
1266 | else if EQ("tounsigned") { | ||
1267 | lua_pushinteger(L1, (lua_Integer)lua_tounsigned(L1, getindex)); | ||
1268 | } | ||
1269 | else if EQ("type") { | 1266 | else if EQ("type") { |
1270 | lua_pushstring(L1, luaL_typename(L1, getnum)); | 1267 | lua_pushstring(L1, luaL_typename(L1, getnum)); |
1271 | } | 1268 | } |