diff options
Diffstat (limited to 'lmathlib.c')
| -rw-r--r-- | lmathlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lmathlib.c,v 1.29 2000/10/20 16:39:03 roberto Exp roberto $ | 2 | ** $Id: lmathlib.c,v 1.30 2000/10/26 12:47:05 roberto Exp roberto $ |
| 3 | ** Standard mathematical library | 3 | ** Standard mathematical library |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -228,7 +228,7 @@ static const struct luaL_reg mathlib[] = { | |||
| 228 | /* | 228 | /* |
| 229 | ** Open math library | 229 | ** Open math library |
| 230 | */ | 230 | */ |
| 231 | LUA_API void lua_mathlibopen (lua_State *L) { | 231 | LUALIB_API void lua_mathlibopen (lua_State *L) { |
| 232 | luaL_openl(L, mathlib); | 232 | luaL_openl(L, mathlib); |
| 233 | lua_pushcfunction(L, math_pow); | 233 | lua_pushcfunction(L, math_pow); |
| 234 | lua_settagmethod(L, LUA_TNUMBER, "pow"); | 234 | lua_settagmethod(L, LUA_TNUMBER, "pow"); |
