summaryrefslogtreecommitdiff
path: root/ldblib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-20 08:26:33 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-20 08:26:33 -0200
commit32fd039bb563b24cbe4621dcc9b3cc18d9e078b0 (patch)
tree381804f8030b6d1d09b5cc35bd46511d7dc29739 /ldblib.c
parent75f73172c463af9643bc187eed7f1fd195238078 (diff)
downloadlua-32fd039bb563b24cbe4621dcc9b3cc18d9e078b0.tar.gz
lua-32fd039bb563b24cbe4621dcc9b3cc18d9e078b0.tar.bz2
lua-32fd039bb563b24cbe4621dcc9b3cc18d9e078b0.zip
`openlib' functions return new module
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 98b3106b..bef81bdd 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldblib.c,v 1.75 2002/12/05 17:50:10 roberto Exp roberto $ 2** $Id: ldblib.c,v 1.76 2002/12/19 11:11:55 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*/
@@ -292,6 +292,6 @@ LUALIB_API int lua_dblibopen (lua_State *L) {
292 lua_pushliteral(L, "_TRACEBACK"); 292 lua_pushliteral(L, "_TRACEBACK");
293 lua_pushcfunction(L, errorfb); 293 lua_pushcfunction(L, errorfb);
294 lua_settable(L, LUA_GLOBALSINDEX); 294 lua_settable(L, LUA_GLOBALSINDEX);
295 return 0; 295 return 1;
296} 296}
297 297