diff options
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.77 2002/12/20 10:26:33 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.78 2003/02/27 11:52:30 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 | */ |
@@ -288,7 +288,7 @@ static const luaL_reg dblib[] = { | |||
288 | }; | 288 | }; |
289 | 289 | ||
290 | 290 | ||
291 | LUALIB_API int lua_dblibopen (lua_State *L) { | 291 | LUALIB_API int luaopen_debug (lua_State *L) { |
292 | luaL_openlib(L, LUA_DBLIBNAME, dblib, 0); | 292 | luaL_openlib(L, LUA_DBLIBNAME, dblib, 0); |
293 | lua_pushliteral(L, "_TRACEBACK"); | 293 | lua_pushliteral(L, "_TRACEBACK"); |
294 | lua_pushcfunction(L, errorfb); | 294 | lua_pushcfunction(L, errorfb); |