diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-12 10:52:05 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-12 10:52:05 -0300 |
| commit | 1de5587184eb2d8d9f379c661f77f7e450764894 (patch) | |
| tree | 9be30539af6392679e56ae3cf336e2d2befc8255 | |
| parent | 8ca9534d048782af13141874e0d2fec0d0f806af (diff) | |
| download | lua-1de5587184eb2d8d9f379c661f77f7e450764894.tar.gz lua-1de5587184eb2d8d9f379c661f77f7e450764894.tar.bz2 lua-1de5587184eb2d8d9f379c661f77f7e450764894.zip | |
`lua.h' is included before any other Lua header file
| -rw-r--r-- | lapi.c | 5 | ||||
| -rw-r--r-- | lauxlib.c | 5 | ||||
| -rw-r--r-- | lbuffer.c | 4 | ||||
| -rw-r--r-- | lbuiltin.c | 5 | ||||
| -rw-r--r-- | lcode.c | 4 | ||||
| -rw-r--r-- | ldblib.c | 5 | ||||
| -rw-r--r-- | ldebug.c | 5 | ||||
| -rw-r--r-- | ldo.c | 5 | ||||
| -rw-r--r-- | lfunc.c | 4 | ||||
| -rw-r--r-- | lgc.c | 5 | ||||
| -rw-r--r-- | linit.c | 3 | ||||
| -rw-r--r-- | liolib.c | 5 | ||||
| -rw-r--r-- | llex.c | 4 | ||||
| -rw-r--r-- | lmathlib.c | 5 | ||||
| -rw-r--r-- | lmem.c | 5 | ||||
| -rw-r--r-- | lobject.c | 5 | ||||
| -rw-r--r-- | lparser.c | 4 | ||||
| -rw-r--r-- | lref.c | 5 | ||||
| -rw-r--r-- | lstate.c | 4 | ||||
| -rw-r--r-- | lstring.c | 5 | ||||
| -rw-r--r-- | lstrlib.c | 5 | ||||
| -rw-r--r-- | ltable.c | 5 | ||||
| -rw-r--r-- | ltests.c | 5 | ||||
| -rw-r--r-- | ltm.c | 4 | ||||
| -rw-r--r-- | lua.c | 3 | ||||
| -rw-r--r-- | lundump.c | 4 | ||||
| -rw-r--r-- | lvm.c | 4 | ||||
| -rw-r--r-- | lzio.c | 4 |
28 files changed, 82 insertions, 44 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lapi.c,v 1.83 2000/06/06 16:31:41 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.84 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Lua API | 3 | ** Lua API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lapi.h" | 14 | #include "lapi.h" |
| 13 | #include "lauxlib.h" | 15 | #include "lauxlib.h" |
| 14 | #include "ldo.h" | 16 | #include "ldo.h" |
| @@ -21,7 +23,6 @@ | |||
| 21 | #include "lstring.h" | 23 | #include "lstring.h" |
| 22 | #include "ltable.h" | 24 | #include "ltable.h" |
| 23 | #include "ltm.h" | 25 | #include "ltm.h" |
| 24 | #include "lua.h" | ||
| 25 | #include "lvm.h" | 26 | #include "lvm.h" |
| 26 | 27 | ||
| 27 | 28 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.c,v 1.27 2000/03/30 17:19:48 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.28 2000/05/24 13:54:49 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 | */ |
| @@ -16,8 +16,9 @@ | |||
| 16 | 16 | ||
| 17 | #define LUA_REENTRANT | 17 | #define LUA_REENTRANT |
| 18 | 18 | ||
| 19 | #include "lauxlib.h" | ||
| 20 | #include "lua.h" | 19 | #include "lua.h" |
| 20 | |||
| 21 | #include "lauxlib.h" | ||
| 21 | #include "luadebug.h" | 22 | #include "luadebug.h" |
| 22 | 23 | ||
| 23 | 24 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lbuffer.c,v 1.12 2000/03/03 14:58:26 roberto Exp roberto $ | 2 | ** $Id: lbuffer.c,v 1.13 2000/05/24 13:54:49 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 | */ |
| @@ -9,6 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lauxlib.h" | 14 | #include "lauxlib.h" |
| 13 | #include "lmem.h" | 15 | #include "lmem.h" |
| 14 | #include "lstate.h" | 16 | #include "lstate.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lbuiltin.c,v 1.114 2000/06/06 16:31:41 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.115 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Built-in functions | 3 | ** Built-in functions |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -21,6 +21,8 @@ | |||
| 21 | 21 | ||
| 22 | #define LUA_REENTRANT | 22 | #define LUA_REENTRANT |
| 23 | 23 | ||
| 24 | #include "lua.h" | ||
| 25 | |||
| 24 | #include "lapi.h" | 26 | #include "lapi.h" |
| 25 | #include "lauxlib.h" | 27 | #include "lauxlib.h" |
| 26 | #include "lbuiltin.h" | 28 | #include "lbuiltin.h" |
| @@ -32,7 +34,6 @@ | |||
| 32 | #include "lstring.h" | 34 | #include "lstring.h" |
| 33 | #include "ltable.h" | 35 | #include "ltable.h" |
| 34 | #include "ltm.h" | 36 | #include "ltm.h" |
| 35 | #include "lua.h" | ||
| 36 | #include "lundump.h" | 37 | #include "lundump.h" |
| 37 | #include "lvm.h" | 38 | #include "lvm.h" |
| 38 | 39 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.c,v 1.33 2000/05/24 18:04:17 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 1.34 2000/06/05 14:56:18 roberto Exp roberto $ |
| 3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lcode.h" | 14 | #include "lcode.h" |
| 13 | #include "ldo.h" | 15 | #include "ldo.h" |
| 14 | #include "llex.h" | 16 | #include "llex.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldblib.c,v 1.15 2000/05/12 19:49:18 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.16 2000/05/24 13:54:49 roberto Exp roberto $ |
| 3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -11,8 +11,9 @@ | |||
| 11 | 11 | ||
| 12 | #define LUA_REENTRANT | 12 | #define LUA_REENTRANT |
| 13 | 13 | ||
| 14 | #include "lauxlib.h" | ||
| 15 | #include "lua.h" | 14 | #include "lua.h" |
| 15 | |||
| 16 | #include "lauxlib.h" | ||
| 16 | #include "luadebug.h" | 17 | #include "luadebug.h" |
| 17 | #include "lualib.h" | 18 | #include "lualib.h" |
| 18 | 19 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.c,v 1.21 2000/05/30 19:00:31 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.22 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Debug Interface | 3 | ** Debug Interface |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lapi.h" | 14 | #include "lapi.h" |
| 13 | #include "lauxlib.h" | 15 | #include "lauxlib.h" |
| 14 | #include "ldebug.h" | 16 | #include "ldebug.h" |
| @@ -18,7 +20,6 @@ | |||
| 18 | #include "lstate.h" | 20 | #include "lstate.h" |
| 19 | #include "ltable.h" | 21 | #include "ltable.h" |
| 20 | #include "ltm.h" | 22 | #include "ltm.h" |
| 21 | #include "lua.h" | ||
| 22 | #include "luadebug.h" | 23 | #include "luadebug.h" |
| 23 | 24 | ||
| 24 | 25 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.c,v 1.76 2000/05/24 13:54:49 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.77 2000/05/30 19:00:31 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -12,6 +12,8 @@ | |||
| 12 | 12 | ||
| 13 | #define LUA_REENTRANT | 13 | #define LUA_REENTRANT |
| 14 | 14 | ||
| 15 | #include "lua.h" | ||
| 16 | |||
| 15 | #include "lauxlib.h" | 17 | #include "lauxlib.h" |
| 16 | #include "ldebug.h" | 18 | #include "ldebug.h" |
| 17 | #include "ldo.h" | 19 | #include "ldo.h" |
| @@ -23,7 +25,6 @@ | |||
| 23 | #include "lstring.h" | 25 | #include "lstring.h" |
| 24 | #include "ltable.h" | 26 | #include "ltable.h" |
| 25 | #include "ltm.h" | 27 | #include "ltm.h" |
| 26 | #include "lua.h" | ||
| 27 | #include "luadebug.h" | 28 | #include "luadebug.h" |
| 28 | #include "lundump.h" | 29 | #include "lundump.h" |
| 29 | #include "lvm.h" | 30 | #include "lvm.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lfunc.c,v 1.22 2000/05/24 13:54:49 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 1.23 2000/05/30 19:00:31 roberto Exp roberto $ |
| 3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lfunc.h" | 14 | #include "lfunc.h" |
| 13 | #include "lmem.h" | 15 | #include "lmem.h" |
| 14 | #include "lstate.h" | 16 | #include "lstate.h" |
| @@ -1,11 +1,13 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lgc.c,v 1.55 2000/06/05 20:07:53 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.56 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Garbage Collector | 3 | ** Garbage Collector |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #define LUA_REENTRANT | 7 | #define LUA_REENTRANT |
| 8 | 8 | ||
| 9 | #include "lua.h" | ||
| 10 | |||
| 9 | #include "ldo.h" | 11 | #include "ldo.h" |
| 10 | #include "lfunc.h" | 12 | #include "lfunc.h" |
| 11 | #include "lgc.h" | 13 | #include "lgc.h" |
| @@ -16,7 +18,6 @@ | |||
| 16 | #include "lstring.h" | 18 | #include "lstring.h" |
| 17 | #include "ltable.h" | 19 | #include "ltable.h" |
| 18 | #include "ltm.h" | 20 | #include "ltm.h" |
| 19 | #include "lua.h" | ||
| 20 | 21 | ||
| 21 | 22 | ||
| 22 | 23 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: linit.c,v 1.2 1999/11/22 13:12:07 roberto Exp roberto $ | 2 | ** $Id: linit.c,v 1.3 1999/12/06 11:43:09 roberto Exp roberto $ |
| 3 | ** Initialization of libraries for lua.c | 3 | ** Initialization of libraries for lua.c |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -7,6 +7,7 @@ | |||
| 7 | #define LUA_REENTRANT | 7 | #define LUA_REENTRANT |
| 8 | 8 | ||
| 9 | #include "lua.h" | 9 | #include "lua.h" |
| 10 | |||
| 10 | #include "lualib.h" | 11 | #include "lualib.h" |
| 11 | 12 | ||
| 12 | 13 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: liolib.c,v 1.65 2000/05/26 19:17:57 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 1.66 2000/05/30 18:55:16 roberto Exp roberto $ |
| 3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -14,8 +14,9 @@ | |||
| 14 | 14 | ||
| 15 | #define LUA_REENTRANT | 15 | #define LUA_REENTRANT |
| 16 | 16 | ||
| 17 | #include "lauxlib.h" | ||
| 18 | #include "lua.h" | 17 | #include "lua.h" |
| 18 | |||
| 19 | #include "lauxlib.h" | ||
| 19 | #include "luadebug.h" | 20 | #include "luadebug.h" |
| 20 | #include "lualib.h" | 21 | #include "lualib.h" |
| 21 | 22 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: llex.c,v 1.61 2000/05/25 18:59:59 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 1.62 2000/05/26 14:04:04 roberto Exp roberto $ |
| 3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -11,6 +11,8 @@ | |||
| 11 | 11 | ||
| 12 | #define LUA_REENTRANT | 12 | #define LUA_REENTRANT |
| 13 | 13 | ||
| 14 | #include "lua.h" | ||
| 15 | |||
| 14 | #include "lauxlib.h" | 16 | #include "lauxlib.h" |
| 15 | #include "llex.h" | 17 | #include "llex.h" |
| 16 | #include "lmem.h" | 18 | #include "lmem.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lmathlib.c,v 1.23 1999/12/27 17:33:22 roberto Exp roberto $ | 2 | ** $Id: lmathlib.c,v 1.24 2000/03/10 18:37:44 roberto Exp roberto $ |
| 3 | ** Standard mathematical library | 3 | ** Standard mathematical library |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -10,8 +10,9 @@ | |||
| 10 | 10 | ||
| 11 | #define LUA_REENTRANT | 11 | #define LUA_REENTRANT |
| 12 | 12 | ||
| 13 | #include "lauxlib.h" | ||
| 14 | #include "lua.h" | 13 | #include "lua.h" |
| 14 | |||
| 15 | #include "lauxlib.h" | ||
| 15 | #include "lualib.h" | 16 | #include "lualib.h" |
| 16 | 17 | ||
| 17 | 18 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lmem.c,v 1.31 2000/05/29 14:48:03 roberto Exp roberto $ | 2 | ** $Id: lmem.c,v 1.32 2000/05/31 16:53:30 roberto Exp roberto $ |
| 3 | ** Interface to Memory Manager | 3 | ** Interface to Memory Manager |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,10 +9,11 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lmem.h" | 14 | #include "lmem.h" |
| 13 | #include "lobject.h" | 15 | #include "lobject.h" |
| 14 | #include "lstate.h" | 16 | #include "lstate.h" |
| 15 | #include "lua.h" | ||
| 16 | 17 | ||
| 17 | 18 | ||
| 18 | /* | 19 | /* |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.c,v 1.39 2000/05/24 13:54:49 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 1.40 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,9 +9,10 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lobject.h" | ||
| 13 | #include "lua.h" | 12 | #include "lua.h" |
| 14 | 13 | ||
| 14 | #include "lobject.h" | ||
| 15 | |||
| 15 | 16 | ||
| 16 | const char *const luaO_typenames[] = { /* ORDER LUA_T */ | 17 | const char *const luaO_typenames[] = { /* ORDER LUA_T */ |
| 17 | "userdata", "number", "string", "table", "function", "function", "nil", | 18 | "userdata", "number", "string", "table", "function", "function", "nil", |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lparser.c,v 1.93 2000/05/30 19:00:31 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.94 2000/06/05 14:56:18 roberto Exp roberto $ |
| 3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -10,6 +10,8 @@ | |||
| 10 | 10 | ||
| 11 | #define LUA_REENTRANT | 11 | #define LUA_REENTRANT |
| 12 | 12 | ||
| 13 | #include "lua.h" | ||
| 14 | |||
| 13 | #include "lcode.h" | 15 | #include "lcode.h" |
| 14 | #include "lfunc.h" | 16 | #include "lfunc.h" |
| 15 | #include "llex.h" | 17 | #include "llex.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lref.c,v 1.12 2000/05/24 13:54:49 roberto Exp roberto $ | 2 | ** $Id: lref.c,v 1.13 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** reference mechanism | 3 | ** reference mechanism |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -7,11 +7,12 @@ | |||
| 7 | 7 | ||
| 8 | #define LUA_REENTRANT | 8 | #define LUA_REENTRANT |
| 9 | 9 | ||
| 10 | #include "lua.h" | ||
| 11 | |||
| 10 | #include "lapi.h" | 12 | #include "lapi.h" |
| 11 | #include "lmem.h" | 13 | #include "lmem.h" |
| 12 | #include "lref.h" | 14 | #include "lref.h" |
| 13 | #include "lstate.h" | 15 | #include "lstate.h" |
| 14 | #include "lua.h" | ||
| 15 | 16 | ||
| 16 | 17 | ||
| 17 | int lua_ref (lua_State *L, int lock) { | 18 | int lua_ref (lua_State *L, int lock) { |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.c,v 1.25 2000/03/31 16:28:45 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 1.26 2000/05/08 19:32:53 roberto Exp roberto $ |
| 3 | ** Global State | 3 | ** Global State |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lauxlib.h" | 14 | #include "lauxlib.h" |
| 13 | #include "lbuiltin.h" | 15 | #include "lbuiltin.h" |
| 14 | #include "ldo.h" | 16 | #include "ldo.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstring.c,v 1.36 2000/05/10 16:33:20 roberto Exp roberto $ | 2 | ** $Id: lstring.c,v 1.37 2000/05/24 13:54:49 roberto Exp roberto $ |
| 3 | ** String table (keeps all strings handled by Lua) | 3 | ** String table (keeps all strings handled by Lua) |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,11 +9,12 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lmem.h" | 14 | #include "lmem.h" |
| 13 | #include "lobject.h" | 15 | #include "lobject.h" |
| 14 | #include "lstate.h" | 16 | #include "lstate.h" |
| 15 | #include "lstring.h" | 17 | #include "lstring.h" |
| 16 | #include "lua.h" | ||
| 17 | 18 | ||
| 18 | 19 | ||
| 19 | 20 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstrlib.c,v 1.42 2000/05/02 18:32:22 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.43 2000/05/24 13:54:49 roberto Exp roberto $ |
| 3 | ** Standard library for string operations and pattern-matching | 3 | ** Standard library for string operations and pattern-matching |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -13,8 +13,9 @@ | |||
| 13 | 13 | ||
| 14 | #define LUA_REENTRANT | 14 | #define LUA_REENTRANT |
| 15 | 15 | ||
| 16 | #include "lauxlib.h" | ||
| 17 | #include "lua.h" | 16 | #include "lua.h" |
| 17 | |||
| 18 | #include "lauxlib.h" | ||
| 18 | #include "lualib.h" | 19 | #include "lualib.h" |
| 19 | 20 | ||
| 20 | 21 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.c,v 1.46 2000/06/06 16:31:41 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.47 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -20,13 +20,14 @@ | |||
| 20 | 20 | ||
| 21 | #define LUA_REENTRANT | 21 | #define LUA_REENTRANT |
| 22 | 22 | ||
| 23 | #include "lua.h" | ||
| 24 | |||
| 23 | #include "lauxlib.h" | 25 | #include "lauxlib.h" |
| 24 | #include "lmem.h" | 26 | #include "lmem.h" |
| 25 | #include "lobject.h" | 27 | #include "lobject.h" |
| 26 | #include "lstate.h" | 28 | #include "lstate.h" |
| 27 | #include "lstring.h" | 29 | #include "lstring.h" |
| 28 | #include "ltable.h" | 30 | #include "ltable.h" |
| 29 | #include "lua.h" | ||
| 30 | 31 | ||
| 31 | 32 | ||
| 32 | #define gcsize(L, n) numblocks(L, n*2, sizeof(Hash)) | 33 | #define gcsize(L, n) numblocks(L, n*2, sizeof(Hash)) |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 1.23 2000/06/02 19:10:01 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.24 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -11,6 +11,8 @@ | |||
| 11 | #include <string.h> | 11 | #include <string.h> |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | #include "lua.h" | ||
| 15 | |||
| 14 | #include "lapi.h" | 16 | #include "lapi.h" |
| 15 | #include "lauxlib.h" | 17 | #include "lauxlib.h" |
| 16 | #include "lcode.h" | 18 | #include "lcode.h" |
| @@ -20,7 +22,6 @@ | |||
| 20 | #include "lstate.h" | 22 | #include "lstate.h" |
| 21 | #include "lstring.h" | 23 | #include "lstring.h" |
| 22 | #include "ltable.h" | 24 | #include "ltable.h" |
| 23 | #include "lua.h" | ||
| 24 | #include "luadebug.h" | 25 | #include "luadebug.h" |
| 25 | 26 | ||
| 26 | 27 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltm.c,v 1.41 2000/05/30 18:54:49 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.42 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Tag methods | 3 | ** Tag methods |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -10,6 +10,8 @@ | |||
| 10 | 10 | ||
| 11 | #define LUA_REENTRANT | 11 | #define LUA_REENTRANT |
| 12 | 12 | ||
| 13 | #include "lua.h" | ||
| 14 | |||
| 13 | #include "lauxlib.h" | 15 | #include "lauxlib.h" |
| 14 | #include "lmem.h" | 16 | #include "lmem.h" |
| 15 | #include "lobject.h" | 17 | #include "lobject.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.c,v 1.37 2000/04/14 17:46:29 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.38 2000/05/10 17:00:21 roberto Exp roberto $ |
| 3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -11,6 +11,7 @@ | |||
| 11 | #include <string.h> | 11 | #include <string.h> |
| 12 | 12 | ||
| 13 | #include "lua.h" | 13 | #include "lua.h" |
| 14 | |||
| 14 | #include "luadebug.h" | 15 | #include "luadebug.h" |
| 15 | #include "lualib.h" | 16 | #include "lualib.h" |
| 16 | 17 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lundump.c,v 1.20 2000/04/25 16:44:31 roberto Exp roberto $ | 2 | ** $Id: lundump.c,v 1.21 2000/05/08 19:32:53 roberto Exp roberto $ |
| 3 | ** load bytecodes from files | 3 | ** load bytecodes from files |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | #define LUA_REENTRANT | 10 | #define LUA_REENTRANT |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lauxlib.h" | 14 | #include "lauxlib.h" |
| 13 | #include "lfunc.h" | 15 | #include "lfunc.h" |
| 14 | #include "lmem.h" | 16 | #include "lmem.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lvm.c,v 1.113 2000/06/06 16:31:41 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.114 2000/06/08 17:48:31 roberto Exp roberto $ |
| 3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -11,6 +11,8 @@ | |||
| 11 | 11 | ||
| 12 | #define LUA_REENTRANT | 12 | #define LUA_REENTRANT |
| 13 | 13 | ||
| 14 | #include "lua.h" | ||
| 15 | |||
| 14 | #include "lapi.h" | 16 | #include "lapi.h" |
| 15 | #include "lauxlib.h" | 17 | #include "lauxlib.h" |
| 16 | #include "ldebug.h" | 18 | #include "ldebug.h" |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lzio.c,v 1.11 2000/03/03 14:58:26 roberto Exp roberto $ | 2 | ** $Id: lzio.c,v 1.12 2000/05/24 13:54:49 roberto Exp roberto $ |
| 3 | ** a generic input stream interface | 3 | ** a generic input stream interface |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -9,6 +9,8 @@ | |||
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| 10 | #include <string.h> | 10 | #include <string.h> |
| 11 | 11 | ||
| 12 | #include "lua.h" | ||
| 13 | |||
| 12 | #include "lzio.h" | 14 | #include "lzio.h" |
| 13 | 15 | ||
| 14 | 16 | ||
