summaryrefslogtreecommitdiff
path: root/lmathlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-20 14:39:03 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-20 14:39:03 -0200
commit64eecc0b8219cc3bcaa2b717826a4376c60d9305 (patch)
treea1633501cdf21016a00bd555c475daea58ec24f5 /lmathlib.c
parent8b88ab07f7cfc216407a88d75ad8f0546224c8d7 (diff)
downloadlua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.gz
lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.bz2
lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.zip
new macro LUA_API
Diffstat (limited to 'lmathlib.c')
-rw-r--r--lmathlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lmathlib.c b/lmathlib.c
index ca14ee8c..67ef899a 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lmathlib.c,v 1.27 2000/08/28 17:57:04 roberto Exp roberto $ 2** $Id: lmathlib.c,v 1.28 2000/08/31 20:23:40 roberto Exp roberto $
3** Standard mathematical library 3** Standard mathematical library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -228,7 +228,7 @@ static const struct luaL_reg mathlib[] = {
228/* 228/*
229** Open math library 229** Open math library
230*/ 230*/
231void lua_mathlibopen (lua_State *L) { 231LUA_API void lua_mathlibopen (lua_State *L) {
232 luaL_openl(L, mathlib); 232 luaL_openl(L, mathlib);
233 lua_pushnumber(L, 0); /* to get its tag */ 233 lua_pushnumber(L, 0); /* to get its tag */
234 lua_pushcfunction(L, math_pow); 234 lua_pushcfunction(L, math_pow);