From 32fd039bb563b24cbe4621dcc9b3cc18d9e078b0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 20 Dec 2002 08:26:33 -0200 Subject: `openlib' functions return new module --- ldblib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 98b3106b..bef81bdd 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.75 2002/12/05 17:50:10 roberto Exp roberto $ +** $Id: ldblib.c,v 1.76 2002/12/19 11:11:55 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -292,6 +292,6 @@ LUALIB_API int lua_dblibopen (lua_State *L) { lua_pushliteral(L, "_TRACEBACK"); lua_pushcfunction(L, errorfb); lua_settable(L, LUA_GLOBALSINDEX); - return 0; + return 1; } -- cgit v1.2.3-55-g6feb