summaryrefslogtreecommitdiff
path: root/ldblib.c
diff options
context:
space:
mode:
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 d6d58233..6afc1fc1 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldblib.c,v 1.121 2010/03/26 20:58:11 roberto Exp roberto $ 2** $Id: ldblib.c,v 1.122 2010/06/21 16:30:12 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*/
@@ -395,7 +395,7 @@ static const luaL_Reg dblib[] = {
395 395
396 396
397LUAMOD_API int luaopen_debug (lua_State *L) { 397LUAMOD_API int luaopen_debug (lua_State *L) {
398 luaL_register(L, LUA_DBLIBNAME, dblib); 398 luaL_newlib(L, dblib);
399 return 1; 399 return 1;
400} 400}
401 401