From 13ab5a6bb1258d640bda2e6d776d5a38f3fa867b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 2 Apr 2002 17:43:08 -0300 Subject: details --- lmathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lmathlib.c') diff --git a/lmathlib.c b/lmathlib.c index 8906944d..67fcbb3a 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.40 2001/12/05 20:15:18 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.41 2002/03/20 12:54:08 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -234,7 +234,7 @@ static const luaL_reg mathlib[] = { LUALIB_API int lua_mathlibopen (lua_State *L) { lua_pushliteral(L, "math"); lua_newtable(L); - luaL_openlib(L, mathlib); + luaL_openlib(L, mathlib, 0); lua_pushliteral(L, "pi"); lua_pushnumber(L, PI); lua_settable(L, -3); -- cgit v1.2.3-55-g6feb