diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-06 17:09:38 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-06 17:09:38 -0300 |
| commit | 6d4db86888ea8ef06b78646f2631891c9e4c7a2b (patch) | |
| tree | 7a7b19dc6b3d786f4f974e702bf69eac9775b70f /ldblib.c | |
| parent | e9a38203700865d36c3b2861200674a21930c1b5 (diff) | |
| download | lua-6d4db86888ea8ef06b78646f2631891c9e4c7a2b.tar.gz lua-6d4db86888ea8ef06b78646f2631891c9e4c7a2b.tar.bz2 lua-6d4db86888ea8ef06b78646f2631891c9e4c7a2b.zip | |
open functions are lua_Cfunctions
Diffstat (limited to 'ldblib.c')
| -rw-r--r-- | ldblib.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldblib.c,v 1.32 2001/02/02 19:02:40 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.33 2001/02/23 17:17:25 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 | */ |
| @@ -182,7 +182,8 @@ static const luaL_reg dblib[] = { | |||
| 182 | }; | 182 | }; |
| 183 | 183 | ||
| 184 | 184 | ||
| 185 | LUALIB_API void lua_dblibopen (lua_State *L) { | 185 | LUALIB_API int lua_dblibopen (lua_State *L) { |
| 186 | luaL_openl(L, dblib); | 186 | luaL_openl(L, dblib); |
| 187 | return 0; | ||
| 187 | } | 188 | } |
| 188 | 189 | ||
