diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 14:19:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 14:19:48 -0300 |
commit | 556a89e53751135f45d8dd1e84651461b67e1f81 (patch) | |
tree | 85c4d8486d53e534100c4b8c9ab30c6990585496 /lauxlib.c | |
parent | e2c60eda16d4aff7ea42513ba7c4d33ac45d9e99 (diff) | |
download | lua-556a89e53751135f45d8dd1e84651461b67e1f81.tar.gz lua-556a89e53751135f45d8dd1e84651461b67e1f81.tar.bz2 lua-556a89e53751135f45d8dd1e84651461b67e1f81.zip |
new names for debug types
Diffstat (limited to 'lauxlib.c')
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.c,v 1.25 2000/01/19 12:00:45 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.26 2000/02/08 16:34:31 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -31,7 +31,7 @@ int luaL_findstring (const char *name, const char *const list[]) { | |||
31 | } | 31 | } |
32 | 32 | ||
33 | void luaL_argerror (lua_State *L, int narg, const char *extramsg) { | 33 | void luaL_argerror (lua_State *L, int narg, const char *extramsg) { |
34 | lua_Dbgactreg ar; | 34 | lua_Debug ar; |
35 | lua_getstack(L, 0, &ar); | 35 | lua_getstack(L, 0, &ar); |
36 | lua_getinfo(L, "nu", &ar); | 36 | lua_getinfo(L, "nu", &ar); |
37 | narg -= ar.nups; | 37 | narg -= ar.nups; |