diff options
Diffstat (limited to 'src/lmathlib.c')
| -rw-r--r-- | src/lmathlib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lmathlib.c b/src/lmathlib.c index fcd2eefb..add88970 100644 --- a/src/lmathlib.c +++ b/src/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.61 2004/05/10 18:11:32 roberto Exp $ +** $Id: lmathlib.c,v 1.62 2005/01/07 20:00:33 roberto Exp $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -225,8 +225,6 @@ LUALIB_API int luaopen_math (lua_State *L) { luaL_openlib(L, LUA_MATHLIBNAME, mathlib, 0); lua_pushnumber(L, PI); lua_setfield(L, -2, "pi"); - lua_pushcfunction(L, math_pow); - lua_setglobal(L, "__pow"); return 1; } |
