aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-06-26 15:38:28 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-06-26 15:38:28 -0300
commita77d263e86feea55529800028f960d7124c1385f (patch)
tree88bc21289c5ef341a7f3509c067524fea7003049 /ltests.c
parent7cc40851e1d1a18a4c45fca31dbccd4206050b11 (diff)
downloadlua-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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ltests.c b/ltests.c
index 25ada591..f72d413c 100644
--- a/ltests.c
+++ b/ltests.c
@@ -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 }