diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-05-03 09:28:43 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-05-03 09:28:43 -0300 |
| commit | 763b8fba1b2e4fb942df85ab5a7f177d3efda72e (patch) | |
| tree | 9e72c9aeb34dca54975093091c51dea01ea895e6 | |
| parent | b4cd38ba6c148cf7db5deae6208b660c3417cac9 (diff) | |
| download | lua-763b8fba1b2e4fb942df85ab5a7f177d3efda72e.tar.gz lua-763b8fba1b2e4fb942df85ab5a7f177d3efda72e.tar.bz2 lua-763b8fba1b2e4fb942df85ab5a7f177d3efda72e.zip | |
more stuff goes to configuration file
| -rw-r--r-- | lauxlib.h | 11 | ||||
| -rw-r--r-- | ltests.h | 3 |
2 files changed, 3 insertions, 11 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.h,v 1.62 2003/10/07 20:13:41 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.63 2004/03/13 13:32:09 roberto Exp roberto $ |
| 3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -15,11 +15,6 @@ | |||
| 15 | #include "lua.h" | 15 | #include "lua.h" |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | #ifndef LUALIB_API | ||
| 19 | #define LUALIB_API LUA_API | ||
| 20 | #endif | ||
| 21 | |||
| 22 | |||
| 23 | 18 | ||
| 24 | typedef struct luaL_reg { | 19 | typedef struct luaL_reg { |
| 25 | const char *name; | 20 | const char *name; |
| @@ -93,10 +88,6 @@ LUALIB_API lua_State *(luaL_newstate) (void); | |||
| 93 | */ | 88 | */ |
| 94 | 89 | ||
| 95 | 90 | ||
| 96 | #ifndef LUAL_BUFFERSIZE | ||
| 97 | #define LUAL_BUFFERSIZE BUFSIZ | ||
| 98 | #endif | ||
| 99 | |||
| 100 | 91 | ||
| 101 | typedef struct luaL_Buffer { | 92 | typedef struct luaL_Buffer { |
| 102 | char *p; /* current position in buffer */ | 93 | char *p; /* current position in buffer */ |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.h,v 2.3 2004/03/15 21:04:54 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.4 2004/04/30 20:13:38 roberto Exp roberto $ |
| 3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -78,6 +78,7 @@ int l_main (int argc, char *argv[]); | |||
| 78 | 78 | ||
| 79 | /* change some sizes to give some bugs a chance */ | 79 | /* change some sizes to give some bugs a chance */ |
| 80 | 80 | ||
| 81 | #undef LUAL_BUFFERSIZE | ||
| 81 | #define LUAL_BUFFERSIZE 27 | 82 | #define LUAL_BUFFERSIZE 27 |
| 82 | #define MINSTRTABSIZE 2 | 83 | #define MINSTRTABSIZE 2 |
| 83 | 84 | ||
