diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-04-23 13:35:45 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-04-23 13:35:45 -0300 |
commit | 572a69b6afbd368beab8844bc876b0f9690b5253 (patch) | |
tree | f2785c52e1ee9bab5b68823b9481af2510a90829 /ltests.c | |
parent | beee01b170c5fea9ed4527b28b9221d2df1baaba (diff) | |
download | lua-572a69b6afbd368beab8844bc876b0f9690b5253.tar.gz lua-572a69b6afbd368beab8844bc876b0f9690b5253.tar.bz2 lua-572a69b6afbd368beab8844bc876b0f9690b5253.zip |
name changes
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
435 | static int newtag (lua_State *L) { | 435 | static 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 | ||