summaryrefslogtreecommitdiff
path: root/lmathlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lmathlib.c')
-rw-r--r--lmathlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lmathlib.c b/lmathlib.c
index 4890f6f9..c14c5d72 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lmathlib.c,v 1.44 2002/05/02 17:12:27 roberto Exp roberto $ 2** $Id: lmathlib.c,v 1.45 2002/05/06 19:05:10 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*/
@@ -231,7 +231,7 @@ static const luaL_reg mathlib[] = {
231** Open math library 231** Open math library
232*/ 232*/
233LUALIB_API int lua_mathlibopen (lua_State *L) { 233LUALIB_API int lua_mathlibopen (lua_State *L) {
234 lua_pushliteral(L, "math"); 234 lua_pushliteral(L, LUA_MATHLIBNAME);
235 lua_newtable(L); 235 lua_newtable(L);
236 luaL_openlib(L, mathlib, 0); 236 luaL_openlib(L, mathlib, 0);
237 lua_pushliteral(L, "pi"); 237 lua_pushliteral(L, "pi");