diff options
Diffstat (limited to 'ldblib.c')
-rw-r--r-- | ldblib.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldblib.c,v 1.97 2005/05/16 21:19:00 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.98 2005/05/17 19:49:15 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 | */ |
@@ -366,18 +366,18 @@ static int db_errorfb (lua_State *L) { | |||
366 | 366 | ||
367 | 367 | ||
368 | static const luaL_reg dblib[] = { | 368 | static const luaL_reg dblib[] = { |
369 | {"getmetatable", db_getmetatable}, | 369 | {"debug", db_debug}, |
370 | {"setmetatable", db_setmetatable}, | ||
371 | {"getfenv", db_getfenv}, | 370 | {"getfenv", db_getfenv}, |
372 | {"setfenv", db_setfenv}, | ||
373 | {"getlocal", db_getlocal}, | ||
374 | {"getinfo", db_getinfo}, | ||
375 | {"gethook", db_gethook}, | 371 | {"gethook", db_gethook}, |
372 | {"getinfo", db_getinfo}, | ||
373 | {"getlocal", db_getlocal}, | ||
374 | {"getmetatable", db_getmetatable}, | ||
376 | {"getupvalue", db_getupvalue}, | 375 | {"getupvalue", db_getupvalue}, |
376 | {"setfenv", db_setfenv}, | ||
377 | {"sethook", db_sethook}, | 377 | {"sethook", db_sethook}, |
378 | {"setlocal", db_setlocal}, | 378 | {"setlocal", db_setlocal}, |
379 | {"setmetatable", db_setmetatable}, | ||
379 | {"setupvalue", db_setupvalue}, | 380 | {"setupvalue", db_setupvalue}, |
380 | {"debug", db_debug}, | ||
381 | {"traceback", db_errorfb}, | 381 | {"traceback", db_errorfb}, |
382 | {NULL, NULL} | 382 | {NULL, NULL} |
383 | }; | 383 | }; |