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 /lbitlib.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 'lbitlib.c')
| -rw-r--r-- | lbitlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: $ | 2 | ** $Id: lbitlib.c,v 1.1 2009/07/01 16:17:08 roberto Exp roberto $ |
| 3 | ** Standard library for bitwise operations | 3 | ** Standard library for bitwise operations |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -117,7 +117,7 @@ static const luaL_Reg bitlib[] = { | |||
| 117 | 117 | ||
| 118 | 118 | ||
| 119 | 119 | ||
| 120 | LUALIB_API int luaopen_bit (lua_State *L) { | 120 | LUAMOD_API int luaopen_bit (lua_State *L) { |
| 121 | luaL_register(L, LUA_BITLIBNAME, bitlib); | 121 | luaL_register(L, LUA_BITLIBNAME, bitlib); |
| 122 | return 1; | 122 | return 1; |
| 123 | } | 123 | } |
