aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/lbaselib.c b/lbaselib.c
index e29480bd..9c711c8d 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.73 2002/05/13 13:10:58 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.74 2002/05/16 18:39:46 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -21,17 +21,6 @@
21 21
22 22
23/* 23/*
24** If your system does not support `stderr', redefine this function, or
25** redefine _ERRORMESSAGE so that it won't need _ALERT.
26*/
27static int luaB__ALERT (lua_State *L) {
28 fputs(luaL_check_string(L, 1), stderr);
29 putc('\n', stderr);
30 return 0;
31}
32
33
34/*
35** If your system does not support `stdout', you can just remove this function. 24** If your system does not support `stdout', you can just remove this function.
36** If you need, you can define your own `print' function, following this 25** If you need, you can define your own `print' function, following this
37** model but changing `fputs' to put the strings at a proper place 26** model but changing `fputs' to put the strings at a proper place
@@ -385,7 +374,6 @@ static int luaB_require (lua_State *L) {
385 374
386 375
387static const luaL_reg base_funcs[] = { 376static const luaL_reg base_funcs[] = {
388 {LUA_ALERT, luaB__ALERT},
389 {"error", luaB_error}, 377 {"error", luaB_error},
390 {"metatable", luaB_metatable}, 378 {"metatable", luaB_metatable},
391 {"globals", luaB_globals}, 379 {"globals", luaB_globals},