aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-28 17:23:41 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-28 17:23:41 -0200
commitaabefe9d68be29c81e7afe00bf00c5bfbf243dc5 (patch)
tree399988fc1181c543499095c0f0423bc68680277f
parentfb602839744a1e4d1c966ca4ab5640231c155cd3 (diff)
downloadlua-aabefe9d68be29c81e7afe00bf00c5bfbf243dc5.tar.gz
lua-aabefe9d68be29c81e7afe00bf00c5bfbf243dc5.tar.bz2
lua-aabefe9d68be29c81e7afe00bf00c5bfbf243dc5.zip
details.
-rw-r--r--lbuiltin.c6
-rw-r--r--lbuiltin.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/lbuiltin.c b/lbuiltin.c
index 9b0e29fe..e0c9627b 100644
--- a/lbuiltin.c
+++ b/lbuiltin.c
@@ -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*/
97void luaB__alert (lua_State *L) { 97void 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
611static const struct luaL_reg builtin_funcs[] = { 611static 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},
diff --git a/lbuiltin.h b/lbuiltin.h
index e35b3ba4..565cd3ac 100644
--- a/lbuiltin.h
+++ b/lbuiltin.h
@@ -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
12void luaB__alert (lua_State *L); 12void luaB__ALERT (lua_State *L);
13void luaB__ERRORMESSAGE (lua_State *L); 13void luaB__ERRORMESSAGE (lua_State *L);
14void luaB_print (lua_State *L); 14void luaB_print (lua_State *L);
15void luaB_tonumber (lua_State *L); 15void luaB_tonumber (lua_State *L);