diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-20 08:26:33 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-20 08:26:33 -0200 |
| commit | 32fd039bb563b24cbe4621dcc9b3cc18d9e078b0 (patch) | |
| tree | 381804f8030b6d1d09b5cc35bd46511d7dc29739 /ldblib.c | |
| parent | 75f73172c463af9643bc187eed7f1fd195238078 (diff) | |
| download | lua-32fd039bb563b24cbe4621dcc9b3cc18d9e078b0.tar.gz lua-32fd039bb563b24cbe4621dcc9b3cc18d9e078b0.tar.bz2 lua-32fd039bb563b24cbe4621dcc9b3cc18d9e078b0.zip | |
`openlib' functions return new module
Diffstat (limited to 'ldblib.c')
| -rw-r--r-- | ldblib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
