diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-28 17:23:41 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-28 17:23:41 -0200 |
commit | aabefe9d68be29c81e7afe00bf00c5bfbf243dc5 (patch) | |
tree | 399988fc1181c543499095c0f0423bc68680277f | |
parent | fb602839744a1e4d1c966ca4ab5640231c155cd3 (diff) | |
download | lua-aabefe9d68be29c81e7afe00bf00c5bfbf243dc5.tar.gz lua-aabefe9d68be29c81e7afe00bf00c5bfbf243dc5.tar.bz2 lua-aabefe9d68be29c81e7afe00bf00c5bfbf243dc5.zip |
details.
-rw-r--r-- | lbuiltin.c | 6 | ||||
-rw-r--r-- | lbuiltin.h | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.c,v 1.88 1999/12/27 13:04:53 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.89 1999/12/27 17:33:22 roberto Exp roberto $ |
3 | ** Built-in functions | 3 | ** Built-in functions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -94,7 +94,7 @@ static Hash *gettable (lua_State *L, int arg) { | |||
94 | ** If your system does not support "stderr", redefine this function, or | 94 | ** If your system does not support "stderr", redefine this function, or |
95 | ** redefine _ERRORMESSAGE so that it won't need _ALERT. | 95 | ** redefine _ERRORMESSAGE so that it won't need _ALERT. |
96 | */ | 96 | */ |
97 | void luaB__alert (lua_State *L) { | 97 | void luaB__ALERT (lua_State *L) { |
98 | fputs(luaL_check_string(L, 1), stderr); | 98 | fputs(luaL_check_string(L, 1), stderr); |
99 | } | 99 | } |
100 | 100 | ||
@@ -609,7 +609,7 @@ void luaB_sort (lua_State *L) { | |||
609 | 609 | ||
610 | 610 | ||
611 | static const struct luaL_reg builtin_funcs[] = { | 611 | static const struct luaL_reg builtin_funcs[] = { |
612 | {"_ALERT", luaB__alert}, | 612 | {"_ALERT", luaB__ALERT}, |
613 | {"_ERRORMESSAGE", luaB__ERRORMESSAGE}, | 613 | {"_ERRORMESSAGE", luaB__ERRORMESSAGE}, |
614 | {"call", luaB_call}, | 614 | {"call", luaB_call}, |
615 | {"collectgarbage", luaB_collectgarbage}, | 615 | {"collectgarbage", luaB_collectgarbage}, |
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.h,v 1.3 1999/12/14 18:33:29 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.h,v 1.4 1999/12/27 17:33:22 roberto Exp roberto $ |
3 | ** Built-in functions | 3 | ** Built-in functions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | #include "lua.h" | 10 | #include "lua.h" |
11 | 11 | ||
12 | void luaB__alert (lua_State *L); | 12 | void luaB__ALERT (lua_State *L); |
13 | void luaB__ERRORMESSAGE (lua_State *L); | 13 | void luaB__ERRORMESSAGE (lua_State *L); |
14 | void luaB_print (lua_State *L); | 14 | void luaB_print (lua_State *L); |
15 | void luaB_tonumber (lua_State *L); | 15 | void luaB_tonumber (lua_State *L); |