diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-05 14:24:04 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-05 14:24:04 -0300 |
commit | 5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7 (patch) | |
tree | e9d62d00cd762b64e30ce2297319f91064d54d7e /ldblib.c | |
parent | 2cd6161060f3e9149e7a61a126bec76cd4f1b333 (diff) | |
download | lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.gz lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.tar.bz2 lua-5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7.zip |
new names for standard libraries
Diffstat (limited to 'ldblib.c')
-rw-r--r-- | ldblib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldblib.c,v 1.53 2002/05/16 18:39:46 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.54 2002/06/03 17:47:18 roberto Exp roberto $ |
3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -246,7 +246,7 @@ static const luaL_reg dblib[] = { | |||
246 | 246 | ||
247 | 247 | ||
248 | LUALIB_API int lua_dblibopen (lua_State *L) { | 248 | LUALIB_API int lua_dblibopen (lua_State *L) { |
249 | luaL_opennamedlib(L, "dbg", dblib, 0); | 249 | luaL_opennamedlib(L, LUA_DBLIBNAME, dblib, 0); |
250 | lua_register(L, "_ERRORMESSAGE", errorfb); | 250 | lua_register(L, "_ERRORMESSAGE", errorfb); |
251 | return 0; | 251 | return 0; |
252 | } | 252 | } |