aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltests.c b/ltests.c
index d761d065..77fc6048 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 1.78 2001/04/11 14:42:41 roberto Exp roberto $ 2** $Id: ltests.c,v 1.79 2001/04/17 17:35:54 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*/
@@ -433,8 +433,8 @@ static int udataval (lua_State *L) {
433} 433}
434 434
435static int newtag (lua_State *L) { 435static int newtag (lua_State *L) {
436 lua_pushnumber(L, lua_newtype(L, lua_tostring(L, 1), 436 lua_pushnumber(L, lua_newxtype(L, lua_tostring(L, 1),
437 (int)lua_tonumber(L, 2))); 437 (int)lua_tonumber(L, 2)));
438 return 1; 438 return 1;
439} 439}
440 440