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 /ltablib.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 'ltablib.c')
| -rw-r--r-- | ltablib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltablib.c,v 1.46 2009/03/23 14:26:12 roberto Exp roberto $ | 2 | ** $Id: ltablib.c,v 1.47 2009/06/17 17:53:50 roberto Exp roberto $ |
| 3 | ** Library for Table Manipulation | 3 | ** Library for Table Manipulation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -281,7 +281,7 @@ static const luaL_Reg tab_funcs[] = { | |||
| 281 | }; | 281 | }; |
| 282 | 282 | ||
| 283 | 283 | ||
| 284 | LUALIB_API int luaopen_table (lua_State *L) { | 284 | LUAMOD_API int luaopen_table (lua_State *L) { |
| 285 | luaL_register(L, LUA_TABLIBNAME, tab_funcs); | 285 | luaL_register(L, LUA_TABLIBNAME, tab_funcs); |
| 286 | return 1; | 286 | return 1; |
| 287 | } | 287 | } |
