From 2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 27 Oct 2000 14:15:53 -0200 Subject: new macro LUALIB_API (so the lib can be a separate DLL) --- lmathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lmathlib.c') diff --git a/lmathlib.c b/lmathlib.c index 6551564a..19e0c5ac 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.29 2000/10/20 16:39:03 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.30 2000/10/26 12:47:05 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 */ -LUA_API void lua_mathlibopen (lua_State *L) { +LUALIB_API void lua_mathlibopen (lua_State *L) { luaL_openl(L, mathlib); lua_pushcfunction(L, math_pow); lua_settagmethod(L, LUA_TNUMBER, "pow"); -- cgit v1.2.3-55-g6feb