diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-22 15:39:51 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-22 15:39:51 -0200 |
commit | 7d1499ba88fbb9275b6e5dea6005a49ff15347dd (patch) | |
tree | 3effbdda4848b26de22e12d8dd14d6c9e3da518b /ldblib.c | |
parent | 29ede6aa13144ff7b69c57a87be1ee93f57ae896 (diff) | |
download | lua-7d1499ba88fbb9275b6e5dea6005a49ff15347dd.tar.gz lua-7d1499ba88fbb9275b6e5dea6005a49ff15347dd.tar.bz2 lua-7d1499ba88fbb9275b6e5dea6005a49ff15347dd.zip |
new macro luaL_openl
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.6 1999/08/16 20:52:00 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.7 1999/11/22 13:12:07 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 | */ |
@@ -214,6 +214,6 @@ static const struct luaL_reg dblib[] = { | |||
214 | 214 | ||
215 | 215 | ||
216 | void lua_dblibopen (lua_State *L) { | 216 | void lua_dblibopen (lua_State *L) { |
217 | luaL_openlib(L, dblib, (sizeof(dblib)/sizeof(dblib[0]))); | 217 | luaL_openl(L, dblib); |
218 | } | 218 | } |
219 | 219 | ||