diff options
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.98 2005/05/17 19:49:15 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.99 2005/07/12 14:32:08 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 | */ |
| @@ -384,7 +384,7 @@ static const luaL_reg dblib[] = { | |||
| 384 | 384 | ||
| 385 | 385 | ||
| 386 | LUALIB_API int luaopen_debug (lua_State *L) { | 386 | LUALIB_API int luaopen_debug (lua_State *L) { |
| 387 | luaL_openlib(L, LUA_DBLIBNAME, dblib, 0); | 387 | luaL_register(L, LUA_DBLIBNAME, dblib); |
| 388 | return 1; | 388 | return 1; |
| 389 | } | 389 | } |
| 390 | 390 | ||
