From 5b8ee9fa8d9bc3d3ad41a1acd547b79bc3b669a7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 5 Jun 2002 14:24:04 -0300 Subject: new names for standard libraries --- lmathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lmathlib.c') diff --git a/lmathlib.c b/lmathlib.c index 4890f6f9..c14c5d72 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.44 2002/05/02 17:12:27 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.45 2002/05/06 19:05:10 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -231,7 +231,7 @@ static const luaL_reg mathlib[] = { ** Open math library */ LUALIB_API int lua_mathlibopen (lua_State *L) { - lua_pushliteral(L, "math"); + lua_pushliteral(L, LUA_MATHLIBNAME); lua_newtable(L); luaL_openlib(L, mathlib, 0); lua_pushliteral(L, "pi"); -- cgit v1.2.3-55-g6feb