commit aabefe9d68be29c81e7afe00bf00c5bfbf243dc5
parent fb602839744a1e4d1c966ca4ab5640231c155cd3
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Tue, 28 Dec 1999 17:23:19 -0200
details.
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lbuiltin.c b/lbuiltin.c
@@ -1,5 +1,5 @@
/*
-** $Id: lbuiltin.c,v 1.88 1999/12/27 13:04:53 roberto Exp roberto $
+** $Id: lbuiltin.c,v 1.89 1999/12/27 17:33:22 roberto Exp roberto $
** Built-in functions
** See Copyright Notice in lua.h
*/
@@ -94,7 +94,7 @@ static Hash *gettable (lua_State *L, int arg) {
** If your system does not support "stderr", redefine this function, or
** redefine _ERRORMESSAGE so that it won't need _ALERT.
*/
-void luaB__alert (lua_State *L) {
+void luaB__ALERT (lua_State *L) {
fputs(luaL_check_string(L, 1), stderr);
}
@@ -609,7 +609,7 @@ void luaB_sort (lua_State *L) {
static const struct luaL_reg builtin_funcs[] = {
- {"_ALERT", luaB__alert},
+ {"_ALERT", luaB__ALERT},
{"_ERRORMESSAGE", luaB__ERRORMESSAGE},
{"call", luaB_call},
{"collectgarbage", luaB_collectgarbage},
diff --git a/lbuiltin.h b/lbuiltin.h
@@ -1,5 +1,5 @@
/*
-** $Id: lbuiltin.h,v 1.3 1999/12/14 18:33:29 roberto Exp roberto $
+** $Id: lbuiltin.h,v 1.4 1999/12/27 17:33:22 roberto Exp roberto $
** Built-in functions
** See Copyright Notice in lua.h
*/
@@ -9,7 +9,7 @@
#include "lua.h"
-void luaB__alert (lua_State *L);
+void luaB__ALERT (lua_State *L);
void luaB__ERRORMESSAGE (lua_State *L);
void luaB_print (lua_State *L);
void luaB_tonumber (lua_State *L);