Browse Source

LUA_MINSTACK has a fixed value

Roberto Ierusalimschy 24 years ago
parent
commit
9924668931
1 changed files with 4 additions and 5 deletions
  1. 4 5
      lua.h

+ 4 - 5
lua.h

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: lua.h,v 1.98 2001/06/06 18:00:19 roberto Exp roberto $
+** $Id: lua.h,v 1.99 2001/06/28 14:45:44 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]
@@ -69,6 +69,9 @@ typedef int (*lua_CFunction) (lua_State *L);
 #define LUA_NOTAG	(-2)
 #define LUA_NOTAG	(-2)
 
 
 
 
+/* minimum Lua stack available to a C function */
+#define LUA_MINSTACK	20
+
 
 
 /*
 /*
 ** generic extra include file
 ** generic extra include file
@@ -78,10 +81,6 @@ typedef int (*lua_CFunction) (lua_State *L);
 #endif
 #endif
 
 
 
 
-/* minimum Lua stack available to a C function */
-#define LUA_MINSTACK	20
-
-
 /* Lua numerical type */
 /* Lua numerical type */
 #ifndef LUA_NUMBER
 #ifndef LUA_NUMBER
 #define LUA_NUMBER	double
 #define LUA_NUMBER	double