From 034de1fe73c24dcb75658b4c9ab16dd012ba3057 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Tue, 11 Mar 2003 09:24:34 -0300 Subject: new names for functions that open C libraries --- ldblib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 9bffa2c8..e5c48ca8 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.77 2002/12/20 10:26:33 roberto Exp roberto $ +** $Id: ldblib.c,v 1.78 2003/02/27 11:52:30 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -288,7 +288,7 @@ static const luaL_reg dblib[] = { }; -LUALIB_API int lua_dblibopen (lua_State *L) { +LUALIB_API int luaopen_debug (lua_State *L) { luaL_openlib(L, LUA_DBLIBNAME, dblib, 0); lua_pushliteral(L, "_TRACEBACK"); lua_pushcfunction(L, errorfb); -- cgit v1.2.3-55-g6feb