aboutsummaryrefslogtreecommitdiff
path: root/ldblib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-04-02 17:43:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-04-02 17:43:08 -0300
commit13ab5a6bb1258d640bda2e6d776d5a38f3fa867b (patch)
tree22e8c2e5c1d10001d0abdeced6046e4489962f27 /ldblib.c
parentcd99bbcd0d88e7b5864ea9c9634ce8abd9bdedda (diff)
downloadlua-13ab5a6bb1258d640bda2e6d776d5a38f3fa867b.tar.gz
lua-13ab5a6bb1258d640bda2e6d776d5a38f3fa867b.tar.bz2
lua-13ab5a6bb1258d640bda2e6d776d5a38f3fa867b.zip
details
Diffstat (limited to 'ldblib.c')
-rw-r--r--ldblib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldblib.c b/ldblib.c
index 886dddb8..a7d63e86 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldblib.c,v 1.44 2002/03/20 12:54:08 roberto Exp roberto $ 2** $Id: ldblib.c,v 1.45 2002/03/27 15:30:41 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*/
@@ -264,7 +264,7 @@ static const luaL_reg dblib[] = {
264 264
265 265
266LUALIB_API int lua_dblibopen (lua_State *L) { 266LUALIB_API int lua_dblibopen (lua_State *L) {
267 luaL_opennamedlib(L, "dbg", dblib); 267 luaL_opennamedlib(L, "dbg", dblib, 0);
268 lua_register(L, LUA_ERRORMESSAGE, errorfb); 268 lua_register(L, LUA_ERRORMESSAGE, errorfb);
269 return 0; 269 return 0;
270} 270}