From 32fd039bb563b24cbe4621dcc9b3cc18d9e078b0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 20 Dec 2002 08:26:33 -0200 Subject: `openlib' functions return new module --- lmathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lmathlib.c') diff --git a/lmathlib.c b/lmathlib.c index ce8b04c3..3a6420c4 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.52 2002/11/14 15:41:38 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.53 2002/12/04 17:38:31 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -241,6 +241,6 @@ LUALIB_API int lua_mathlibopen (lua_State *L) { lua_pushliteral(L, "__pow"); lua_pushcfunction(L, math_pow); lua_settable(L, LUA_REGISTRYINDEX); - return 0; + return 1; } -- cgit v1.2.3-55-g6feb