diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-27 14:15:53 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-27 14:15:53 -0200 |
| commit | 2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6 (patch) | |
| tree | d2aba2867b81f95ebdf46741e616d8649e9c1a73 /ldblib.c | |
| parent | e2b6b7de1b51ac662ad76423e045d0cf3274f051 (diff) | |
| download | lua-2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6.tar.gz lua-2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6.tar.bz2 lua-2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6.zip | |
new macro LUALIB_API (so the lib can be a separate DLL)
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.25 2000/10/26 18:44:26 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.26 2000/10/26 19:04:22 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 | */ |
| @@ -179,7 +179,7 @@ static const struct luaL_reg dblib[] = { | |||
| 179 | }; | 179 | }; |
| 180 | 180 | ||
| 181 | 181 | ||
| 182 | LUA_API void lua_dblibopen (lua_State *L) { | 182 | LUALIB_API void lua_dblibopen (lua_State *L) { |
| 183 | luaL_openl(L, dblib); | 183 | luaL_openl(L, dblib); |
| 184 | } | 184 | } |
| 185 | 185 | ||
