Pārlūkot izejas kodu

_ALERT is used (and assumed) only by the libs

Roberto Ierusalimschy 25 gadi atpakaļ
vecāks
revīzija
55c3bc2bcb
2 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  1. 2 3
      lua.h
  2. 4 1
      lualib.h

+ 2 - 3
lua.h

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: lua.h,v 1.66 2000/09/05 19:33:32 roberto Exp roberto $
+** $Id: lua.h,v 1.67 2000/09/11 19:42:57 roberto Exp roberto $
 ** Lua - An Extensible Extension Language
 ** Lua - An Extensible Extension Language
 ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
 ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
 ** e-mail: [email protected]
 ** e-mail: [email protected]
@@ -21,7 +21,6 @@
 #define LUA_AUTHORS 	"W. Celes, R. Ierusalimschy & L. H. de Figueiredo"
 #define LUA_AUTHORS 	"W. Celes, R. Ierusalimschy & L. H. de Figueiredo"
 
 
 
 
-#define LUA_ALERT		"_ALERT"
 #define LUA_ERRORMESSAGE	"_ERRORMESSAGE"
 #define LUA_ERRORMESSAGE	"_ERRORMESSAGE"
 
 
 
 
@@ -38,9 +37,9 @@
 
 
 
 
 /* error codes for lua_do* */
 /* error codes for lua_do* */
+#define LUA_ERRRUN	1
 #define LUA_ERRFILE	2
 #define LUA_ERRFILE	2
 #define LUA_ERRSYNTAX	3
 #define LUA_ERRSYNTAX	3
-#define LUA_ERRRUN	1
 #define LUA_ERRMEM	4
 #define LUA_ERRMEM	4
 
 
 
 

+ 4 - 1
lualib.h

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: lualib.h,v 1.10 2000/08/09 19:16:57 roberto Exp roberto $
+** $Id: lualib.h,v 1.11 2000/09/05 19:33:32 roberto Exp roberto $
 ** Lua standard libraries
 ** Lua standard libraries
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -10,6 +10,9 @@
 
 
 #include "lua.h"
 #include "lua.h"
 
 
+
+#define LUA_ALERT               "_ALERT"
+
 void lua_baselibopen (lua_State *L);
 void lua_baselibopen (lua_State *L);
 void lua_iolibopen (lua_State *L);
 void lua_iolibopen (lua_State *L);
 void lua_strlibopen (lua_State *L);
 void lua_strlibopen (lua_State *L);