From 64eecc0b8219cc3bcaa2b717826a4376c60d9305 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 20 Oct 2000 14:39:03 -0200 Subject: new macro LUA_API --- lmathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lmathlib.c') diff --git a/lmathlib.c b/lmathlib.c index ca14ee8c..67ef899a 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.27 2000/08/28 17:57:04 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.28 2000/08/31 20:23:40 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -228,7 +228,7 @@ static const struct luaL_reg mathlib[] = { /* ** Open math library */ -void lua_mathlibopen (lua_State *L) { +LUA_API void lua_mathlibopen (lua_State *L) { luaL_openl(L, mathlib); lua_pushnumber(L, 0); /* to get its tag */ lua_pushcfunction(L, math_pow); -- cgit v1.2.3-55-g6feb