From f53fd8d5f5f6c06afb191c5f579c75fcf607d52d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 16 May 2002 16:09:19 -0300 Subject: _ALERT is a private afair of lua.c --- lbaselib.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index e29480bd..9c711c8d 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.73 2002/05/13 13:10:58 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.74 2002/05/16 18:39:46 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -20,17 +20,6 @@ -/* -** If your system does not support `stderr', redefine this function, or -** redefine _ERRORMESSAGE so that it won't need _ALERT. -*/ -static int luaB__ALERT (lua_State *L) { - fputs(luaL_check_string(L, 1), stderr); - putc('\n', stderr); - return 0; -} - - /* ** If your system does not support `stdout', you can just remove this function. ** If you need, you can define your own `print' function, following this @@ -385,7 +374,6 @@ static int luaB_require (lua_State *L) { static const luaL_reg base_funcs[] = { - {LUA_ALERT, luaB__ALERT}, {"error", luaB_error}, {"metatable", luaB_metatable}, {"globals", luaB_globals}, -- cgit v1.2.3-55-g6feb