diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-24 10:05:44 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-24 10:05:44 -0200 |
commit | a6f465f55802989c1656d1a3b030c315c8ef2690 (patch) | |
tree | d82e6d23612d42957341f3e8bd53937c267a1d1e /ldblib.c | |
parent | 9a41506b8f26e387493880e0affc2e23d604a97e (diff) | |
download | lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.gz lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.bz2 lua-a6f465f55802989c1656d1a3b030c315c8ef2690.zip |
new mark LUAMOD_API for all luaopen_* functions
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.115 2009/11/09 19:10:48 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.116 2009/11/18 15:50:18 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 | */ |
@@ -377,7 +377,7 @@ static const luaL_Reg dblib[] = { | |||
377 | }; | 377 | }; |
378 | 378 | ||
379 | 379 | ||
380 | LUALIB_API int luaopen_debug (lua_State *L) { | 380 | LUAMOD_API int luaopen_debug (lua_State *L) { |
381 | luaL_register(L, LUA_DBLIBNAME, dblib); | 381 | luaL_register(L, LUA_DBLIBNAME, dblib); |
382 | return 1; | 382 | return 1; |
383 | } | 383 | } |