Browse Source

more stuff goes to configuration file

Roberto Ierusalimschy 21 years ago
parent
commit
763b8fba1b
2 changed files with 3 additions and 11 deletions
  1. 1 10
      lauxlib.h
  2. 2 1
      ltests.h

+ 1 - 10
lauxlib.h

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: lauxlib.h,v 1.62 2003/10/07 20:13:41 roberto Exp roberto $
+** $Id: lauxlib.h,v 1.63 2004/03/13 13:32:09 roberto Exp roberto $
 ** Auxiliary functions for building Lua libraries
 ** Auxiliary functions for building Lua libraries
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -15,11 +15,6 @@
 #include "lua.h"
 #include "lua.h"
 
 
 
 
-#ifndef LUALIB_API
-#define LUALIB_API	LUA_API
-#endif
-
-
 
 
 typedef struct luaL_reg {
 typedef struct luaL_reg {
   const char *name;
   const char *name;
@@ -93,10 +88,6 @@ LUALIB_API lua_State *(luaL_newstate) (void);
 */
 */
 
 
 
 
-#ifndef LUAL_BUFFERSIZE
-#define LUAL_BUFFERSIZE	  BUFSIZ
-#endif
-
 
 
 typedef struct luaL_Buffer {
 typedef struct luaL_Buffer {
   char *p;			/* current position in buffer */
   char *p;			/* current position in buffer */

+ 2 - 1
ltests.h

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: ltests.h,v 2.3 2004/03/15 21:04:54 roberto Exp roberto $
+** $Id: ltests.h,v 2.4 2004/04/30 20:13:38 roberto Exp roberto $
 ** Internal Header for Debugging of the Lua Implementation
 ** Internal Header for Debugging of the Lua Implementation
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -78,6 +78,7 @@ int l_main (int argc, char *argv[]);
 
 
 /* change some sizes to give some bugs a chance */
 /* change some sizes to give some bugs a chance */
 
 
+#undef LUAL_BUFFERSIZE
 #define LUAL_BUFFERSIZE		27
 #define LUAL_BUFFERSIZE		27
 #define MINSTRTABSIZE		2
 #define MINSTRTABSIZE		2