From a6f465f55802989c1656d1a3b030c315c8ef2690 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 24 Nov 2009 10:05:44 -0200 Subject: new mark LUAMOD_API for all luaopen_* functions --- lmathlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lmathlib.c') diff --git a/lmathlib.c b/lmathlib.c index eca93ecc..391a31e7 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.72 2009/02/18 13:17:10 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.73 2009/03/17 17:55:39 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -262,7 +262,7 @@ static const luaL_Reg mathlib[] = { /* ** Open math library */ -LUALIB_API int luaopen_math (lua_State *L) { +LUAMOD_API int luaopen_math (lua_State *L) { luaL_register(L, LUA_MATHLIBNAME, mathlib); lua_pushnumber(L, PI); lua_setfield(L, -2, "pi"); -- cgit v1.2.3-55-g6feb