From 6d4db86888ea8ef06b78646f2631891c9e4c7a2b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 6 Mar 2001 17:09:38 -0300 Subject: open functions are lua_Cfunctions --- ldblib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 906a0754..9bdbe5d2 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.32 2001/02/02 19:02:40 roberto Exp roberto $ +** $Id: ldblib.c,v 1.33 2001/02/23 17:17:25 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -182,7 +182,8 @@ static const luaL_reg dblib[] = { }; -LUALIB_API void lua_dblibopen (lua_State *L) { +LUALIB_API int lua_dblibopen (lua_State *L) { luaL_openl(L, dblib); + return 0; } -- cgit v1.2.3-55-g6feb