summaryrefslogtreecommitdiff
path: root/src/lmathlib.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2005-03-04 12:00:00 +0000
committerrepogen <>2005-03-04 12:00:00 +0000
commite6ddfd3b09c0a3727afc773029c323a3defe50fa (patch)
tree70e021a2b008f43064eeb04e002a31ba371b5108 /src/lmathlib.c
parente2493a40ee611d5a718fd2a81fe67e24c04c91a0 (diff)
downloadlua-github-5.1-work5.tar.gz
Lua 5.1-work55.1-work5
Diffstat (limited to 'src/lmathlib.c')
-rw-r--r--src/lmathlib.c4
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;
}