aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index f3e5f9a1..99623541 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 1.127 2002/06/20 20:40:38 roberto Exp roberto $ 2** $Id: ltests.c,v 1.128 2002/06/25 19:16:44 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*/
@@ -578,6 +578,9 @@ static int testC (lua_State *L) {
578 else if EQ("isuserdata") { 578 else if EQ("isuserdata") {
579 lua_pushnumber(L, lua_isuserdata(L, getnum)); 579 lua_pushnumber(L, lua_isuserdata(L, getnum));
580 } 580 }
581 else if EQ("isudataval") {
582 lua_pushnumber(L, lua_isudataval(L, getnum));
583 }
581 else if EQ("isnil") { 584 else if EQ("isnil") {
582 lua_pushnumber(L, lua_isnil(L, getnum)); 585 lua_pushnumber(L, lua_isnil(L, getnum));
583 } 586 }