diff options
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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 | */ | ||
27 | static 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 | ||
387 | static const luaL_reg base_funcs[] = { | 376 | static 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}, |