From 5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 5 Jun 2002 14:24:04 -0300 Subject: new names for standard libraries --- ldblib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 04f03aed..329cb23d 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.53 2002/05/16 18:39:46 roberto Exp roberto $ +** $Id: ldblib.c,v 1.54 2002/06/03 17:47:18 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -246,7 +246,7 @@ static const luaL_reg dblib[] = { LUALIB_API int lua_dblibopen (lua_State *L) { - luaL_opennamedlib(L, "dbg", dblib, 0); + luaL_opennamedlib(L, LUA_DBLIBNAME, dblib, 0); lua_register(L, "_ERRORMESSAGE", errorfb); return 0; } -- cgit v1.2.3-55-g6feb