aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-04-23 13:35:45 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-04-23 13:35:45 -0300
commit572a69b6afbd368beab8844bc876b0f9690b5253 (patch)
treef2785c52e1ee9bab5b68823b9481af2510a90829 /ltests.c
parentbeee01b170c5fea9ed4527b28b9221d2df1baaba (diff)
downloadlua-572a69b6afbd368beab8844bc876b0f9690b5253.tar.gz
lua-572a69b6afbd368beab8844bc876b0f9690b5253.tar.bz2
lua-572a69b6afbd368beab8844bc876b0f9690b5253.zip
name changes
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