diff --git a/lapi.c b/lapi.c index 34a52390..d6f448c2 100644 --- a/lapi.c +++ b/lapi.c @@ -1,16 +1,18 @@ /* -** $Id: lapi.c,v 2.240 2014/10/28 17:27:50 roberto Exp roberto $ +** $Id: lapi.c,v 2.241 2014/10/31 17:41:51 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ +#define lapi_c +#define LUA_CORE + +#include "lprefix.h" + #include #include -#define lapi_c -#define LUA_CORE - #include "lua.h" #include "lapi.h" diff --git a/lauxlib.c b/lauxlib.c index 74fd74f3..865006d8 100644 --- a/lauxlib.c +++ b/lauxlib.c @@ -1,9 +1,14 @@ /* -** $Id: lauxlib.c,v 1.271 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: lauxlib.c,v 1.272 2014/10/29 16:11:17 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ +#define lauxlib_c +#define LUA_LIB + +#include "lprefix.h" + #include #include @@ -16,9 +21,6 @@ ** Any function declared here could be written as an application function. */ -#define lauxlib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/lbaselib.c b/lbaselib.c index e28b467f..fd71a9fc 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,9 +1,13 @@ /* -** $Id: lbaselib.c,v 1.304 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.305 2014/10/29 16:11:17 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ +#define lbaselib_c +#define LUA_LIB + +#include "lprefix.h" #include @@ -11,9 +15,6 @@ #include #include -#define lbaselib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/lbitlib.c b/lbitlib.c index be02892f..93688288 100644 --- a/lbitlib.c +++ b/lbitlib.c @@ -1,5 +1,5 @@ /* -** $Id: lbitlib.c,v 1.26 2014/05/15 19:28:34 roberto Exp roberto $ +** $Id: lbitlib.c,v 1.27 2014/10/01 11:54:56 roberto Exp roberto $ ** Standard library for bitwise operations ** See Copyright Notice in lua.h */ @@ -7,6 +7,9 @@ #define lbitlib_c #define LUA_LIB +#include "lprefix.h" + + #include "lua.h" #include "lauxlib.h" diff --git a/lcode.c b/lcode.c index 2e7af2f7..acf637c9 100644 --- a/lcode.c +++ b/lcode.c @@ -1,16 +1,18 @@ /* -** $Id: lcode.c,v 2.93 2014/10/28 17:27:41 roberto Exp roberto $ +** $Id: lcode.c,v 2.94 2014/10/30 18:53:28 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ +#define lcode_c +#define LUA_CORE + +#include "lprefix.h" + #include #include -#define lcode_c -#define LUA_CORE - #include "lua.h" #include "lcode.h" diff --git a/lcorolib.c b/lcorolib.c index a0df0e79..a46f33ee 100644 --- a/lcorolib.c +++ b/lcorolib.c @@ -1,16 +1,17 @@ /* -** $Id: lcorolib.c,v 1.7 2014/09/01 18:00:04 roberto Exp roberto $ +** $Id: lcorolib.c,v 1.8 2014/10/25 11:50:46 roberto Exp roberto $ ** Coroutine Library ** See Copyright Notice in lua.h */ - -#include - - #define lcorolib_c #define LUA_LIB +#include "lprefix.h" + + +#include + #include "lua.h" #include "lauxlib.h" diff --git a/lctype.c b/lctype.c index 9e161601..367640c6 100644 --- a/lctype.c +++ b/lctype.c @@ -1,5 +1,5 @@ /* -** $Id: lctype.c,v 1.10 2011/06/24 12:25:33 roberto Exp roberto $ +** $Id: lctype.c,v 1.11 2011/10/03 16:19:23 roberto Exp roberto $ ** 'ctype' functions for Lua ** See Copyright Notice in lua.h */ @@ -7,6 +7,9 @@ #define lctype_c #define LUA_CORE +#include "lprefix.h" + + #include "lctype.h" #if !LUA_USE_CTYPE /* { */ diff --git a/ldblib.c b/ldblib.c index cae32286..eb334100 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,17 +1,19 @@ /* -** $Id: ldblib.c,v 1.143 2014/10/17 11:07:26 roberto Exp roberto $ +** $Id: ldblib.c,v 1.144 2014/10/29 16:12:30 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ +#define ldblib_c +#define LUA_LIB + +#include "lprefix.h" + #include #include #include -#define ldblib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/ldebug.c b/ldebug.c index 26f8ef80..a8ec52a7 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,18 +1,19 @@ /* -** $Id: ldebug.c,v 2.101 2014/10/17 16:28:21 roberto Exp roberto $ +** $Id: ldebug.c,v 2.102 2014/10/25 11:50:46 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ +#define ldebug_c +#define LUA_CORE + +#include "lprefix.h" + #include #include #include - -#define ldebug_c -#define LUA_CORE - #include "lua.h" #include "lapi.h" diff --git a/ldo.c b/ldo.c index e0ad718c..e598ae96 100644 --- a/ldo.c +++ b/ldo.c @@ -1,17 +1,19 @@ /* -** $Id: ldo.c,v 2.130 2014/10/17 16:28:21 roberto Exp roberto $ +** $Id: ldo.c,v 2.131 2014/10/25 11:50:46 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ +#define ldo_c +#define LUA_CORE + +#include "lprefix.h" + #include #include #include -#define ldo_c -#define LUA_CORE - #include "lua.h" #include "lapi.h" diff --git a/ldump.c b/ldump.c index a8c66183..a3da9a9f 100644 --- a/ldump.c +++ b/ldump.c @@ -1,14 +1,17 @@ /* -** $Id: ldump.c,v 2.32 2014/06/18 18:35:43 roberto Exp roberto $ +** $Id: ldump.c,v 2.33 2014/07/18 13:36:14 roberto Exp roberto $ ** save precompiled Lua chunks ** See Copyright Notice in lua.h */ -#include - #define ldump_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "lobject.h" diff --git a/lfunc.c b/lfunc.c index 0e5d2f52..4c10230e 100644 --- a/lfunc.c +++ b/lfunc.c @@ -1,15 +1,17 @@ /* -** $Id: lfunc.c,v 2.43 2014/06/19 18:27:20 roberto Exp roberto $ +** $Id: lfunc.c,v 2.44 2014/10/25 11:50:46 roberto Exp roberto $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ - -#include - #define lfunc_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "lfunc.h" diff --git a/lgc.c b/lgc.c index 30779328..a3db97b4 100644 --- a/lgc.c +++ b/lgc.c @@ -1,14 +1,17 @@ /* -** $Id: lgc.c,v 2.198 2014/10/29 15:02:53 roberto Exp roberto $ +** $Id: lgc.c,v 2.199 2014/10/30 18:53:28 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ -#include - #define lgc_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "ldebug.h" diff --git a/linit.c b/linit.c index 96b55c71..96378037 100644 --- a/linit.c +++ b/linit.c @@ -1,10 +1,16 @@ /* -** $Id: linit.c,v 1.33 2014/02/06 17:32:33 roberto Exp roberto $ +** $Id: linit.c,v 1.34 2014/05/15 19:28:34 roberto Exp roberto $ ** Initialization of libraries for lua.c and other clients ** See Copyright Notice in lua.h */ +#define linit_c +#define LUA_LIB + +#include "lprefix.h" + + /* ** If you embed Lua in your program and need to open the standard ** libraries, call luaL_openlibs in your program. If you need a @@ -12,10 +18,6 @@ ** it to suit your needs. */ - -#define linit_c -#define LUA_LIB - #include "lua.h" #include "lualib.h" diff --git a/liolib.c b/liolib.c index 0927d7c0..4e839006 100644 --- a/liolib.c +++ b/liolib.c @@ -1,18 +1,13 @@ /* -** $Id: liolib.c,v 2.137 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: liolib.c,v 2.138 2014/10/31 15:54:06 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ +#define liolib_c +#define LUA_LIB -/* -** This definition must come before the inclusion of 'stdio.h'; it -** should not affect non-POSIX systems -*/ -#if !defined(_FILE_OFFSET_BITS) -#define _LARGEFILE_SOURCE 1 -#define _FILE_OFFSET_BITS 64 -#endif +#include "lprefix.h" #include @@ -22,9 +17,6 @@ #include #include -#define liolib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/llex.c b/llex.c index e737c169..31b4ce85 100644 --- a/llex.c +++ b/llex.c @@ -1,16 +1,18 @@ /* -** $Id: llex.c,v 2.86 2014/10/26 15:45:41 roberto Exp roberto $ +** $Id: llex.c,v 2.87 2014/10/30 18:53:28 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ +#define llex_c +#define LUA_CORE + +#include "lprefix.h" + #include #include -#define llex_c -#define LUA_CORE - #include "lua.h" #include "lctype.h" diff --git a/lmathlib.c b/lmathlib.c index d9f63c17..212dc696 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,16 +1,18 @@ /* -** $Id: lmathlib.c,v 1.110 2014/10/08 19:57:31 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.111 2014/10/24 11:42:06 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ +#define lmathlib_c +#define LUA_LIB + +#include "lprefix.h" + #include #include -#define lmathlib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/lmem.c b/lmem.c index 83f1d2c8..80b30f58 100644 --- a/lmem.c +++ b/lmem.c @@ -1,15 +1,17 @@ /* -** $Id: lmem.c,v 1.86 2014/07/15 21:26:50 roberto Exp roberto $ +** $Id: lmem.c,v 1.87 2014/10/25 11:50:46 roberto Exp roberto $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ - -#include - #define lmem_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "ldebug.h" diff --git a/loadlib.c b/loadlib.c index 898ac92e..79a7b86c 100644 --- a/loadlib.c +++ b/loadlib.c @@ -1,5 +1,5 @@ /* -** $Id: loadlib.c,v 1.118 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: loadlib.c,v 1.119 2014/10/27 18:05:37 roberto Exp roberto $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** @@ -8,22 +8,15 @@ ** systems. */ +#define loadlib_c +#define LUA_LIB -/* -** if needed, includes windows header before everything else -*/ -#if defined(_WIN32) -#include -#endif +#include "lprefix.h" #include #include - -#define loadlib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/lobject.c b/lobject.c index 78f71179..bdcb8257 100644 --- a/lobject.c +++ b/lobject.c @@ -1,17 +1,20 @@ /* -** $Id: lobject.c,v 2.96 2014/10/27 19:21:56 roberto Exp roberto $ +** $Id: lobject.c,v 2.97 2014/10/28 18:41:38 roberto Exp roberto $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ +#define lobject_c +#define LUA_CORE + +#include "lprefix.h" + + #include #include #include #include -#define lobject_c -#define LUA_CORE - #include "lua.h" #include "lctype.h" diff --git a/lopcodes.c b/lopcodes.c index cf2c4d3d..bfc3d5fc 100644 --- a/lopcodes.c +++ b/lopcodes.c @@ -1,13 +1,14 @@ /* -** $Id: lopcodes.c,v 1.52 2013/12/18 14:12:03 roberto Exp roberto $ +** $Id: lopcodes.c,v 1.53 2013/12/30 20:47:58 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ - #define lopcodes_c #define LUA_CORE +#include "lprefix.h" + #include "lopcodes.h" diff --git a/loslib.c b/loslib.c index 12d7c0d3..98809da3 100644 --- a/loslib.c +++ b/loslib.c @@ -1,9 +1,14 @@ /* -** $Id: loslib.c,v 1.49 2014/10/17 16:28:21 roberto Exp roberto $ +** $Id: loslib.c,v 1.50 2014/10/25 11:50:46 roberto Exp roberto $ ** Standard Operating System library ** See Copyright Notice in lua.h */ +#define loslib_c +#define LUA_LIB + +#include "lprefix.h" + #include #include @@ -11,9 +16,6 @@ #include #include -#define loslib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/lparser.c b/lparser.c index 603998da..56c73acc 100644 --- a/lparser.c +++ b/lparser.c @@ -1,15 +1,17 @@ /* -** $Id: lparser.c,v 2.143 2014/10/17 16:28:21 roberto Exp roberto $ +** $Id: lparser.c,v 2.144 2014/10/25 11:50:46 roberto Exp roberto $ ** Lua Parser ** See Copyright Notice in lua.h */ - -#include - #define lparser_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "lcode.h" diff --git a/lstate.c b/lstate.c index a63ae14d..75d914e4 100644 --- a/lstate.c +++ b/lstate.c @@ -1,16 +1,18 @@ /* -** $Id: lstate.c,v 2.124 2014/07/24 14:00:16 roberto Exp roberto $ +** $Id: lstate.c,v 2.125 2014/07/24 16:17:56 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ +#define lstate_c +#define LUA_CORE + +#include "lprefix.h" + #include #include -#define lstate_c -#define LUA_CORE - #include "lua.h" #include "lapi.h" diff --git a/lstring.c b/lstring.c index 8e7516af..27b06dd3 100644 --- a/lstring.c +++ b/lstring.c @@ -1,15 +1,17 @@ /* -** $Id: lstring.c,v 2.43 2014/07/18 14:46:47 roberto Exp roberto $ +** $Id: lstring.c,v 2.44 2014/07/21 16:02:10 roberto Exp roberto $ ** String table (keeps all strings handled by Lua) ** See Copyright Notice in lua.h */ - -#include - #define lstring_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "ldebug.h" diff --git a/lstrlib.c b/lstrlib.c index caac826d..99dbee06 100644 --- a/lstrlib.c +++ b/lstrlib.c @@ -1,9 +1,14 @@ /* -** $Id: lstrlib.c,v 1.210 2014/10/30 18:53:28 roberto Exp roberto $ +** $Id: lstrlib.c,v 1.211 2014/10/31 15:53:31 roberto Exp roberto $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ +#define lstrlib_c +#define LUA_LIB + +#include "lprefix.h" + #include #include @@ -12,9 +17,6 @@ #include #include -#define lstrlib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/ltable.c b/ltable.c index 71259630..131a9aa2 100644 --- a/ltable.c +++ b/ltable.c @@ -1,9 +1,14 @@ /* -** $Id: ltable.c,v 2.97 2014/10/24 11:42:06 roberto Exp roberto $ +** $Id: ltable.c,v 2.98 2014/10/25 11:50:46 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ +#define ltable_c +#define LUA_CORE + +#include "lprefix.h" + /* ** Implementation of tables (aka arrays, objects, or hash tables). @@ -23,9 +28,6 @@ #include #include -#define ltable_c -#define LUA_CORE - #include "lua.h" #include "ldebug.h" diff --git a/ltablib.c b/ltablib.c index 52595fab..53fdec80 100644 --- a/ltablib.c +++ b/ltablib.c @@ -1,16 +1,18 @@ /* -** $Id: ltablib.c,v 1.77 2014/10/17 16:28:21 roberto Exp roberto $ +** $Id: ltablib.c,v 1.78 2014/10/25 11:50:46 roberto Exp roberto $ ** Library for Table Manipulation ** See Copyright Notice in lua.h */ +#define ltablib_c +#define LUA_LIB + +#include "lprefix.h" + #include #include -#define ltablib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/ltests.c b/ltests.c index 68f0c4a9..19989e82 100644 --- a/ltests.c +++ b/ltests.c @@ -1,18 +1,20 @@ /* -** $Id: ltests.c,v 2.190 2014/10/27 17:00:02 roberto Exp roberto $ +** $Id: ltests.c,v 2.191 2014/10/30 18:53:28 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ +#define ltests_c +#define LUA_CORE + +#include "lprefix.h" + #include #include #include #include -#define ltests_c -#define LUA_CORE - #include "lua.h" #include "lapi.h" diff --git a/ltm.c b/ltm.c index 396b28ea..94c077d5 100644 --- a/ltm.c +++ b/ltm.c @@ -1,15 +1,17 @@ /* -** $Id: ltm.c,v 2.28 2014/07/18 12:17:54 roberto Exp roberto $ +** $Id: ltm.c,v 2.29 2014/07/18 13:36:14 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ - -#include - #define ltm_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "ldebug.h" diff --git a/lua.c b/lua.c index 99aabfac..600e2063 100644 --- a/lua.c +++ b/lua.c @@ -1,17 +1,19 @@ /* -** $Id: lua.c,v 1.218 2014/10/29 16:11:17 roberto Exp roberto $ +** $Id: lua.c,v 1.219 2014/10/31 15:54:06 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ +#define lua_c + +#include "lprefix.h" + #include #include #include #include -#define lua_c - #include "lua.h" #include "lauxlib.h" diff --git a/lundump.c b/lundump.c index 2a9eac28..039e4a0f 100644 --- a/lundump.c +++ b/lundump.c @@ -1,14 +1,17 @@ /* -** $Id: lundump.c,v 2.39 2014/06/18 18:35:43 roberto Exp roberto $ +** $Id: lundump.c,v 2.40 2014/06/19 18:27:20 roberto Exp roberto $ ** load precompiled Lua chunks ** See Copyright Notice in lua.h */ -#include - #define lundump_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "ldebug.h" diff --git a/lutf8lib.c b/lutf8lib.c index 7b783da7..4d89ee4b 100644 --- a/lutf8lib.c +++ b/lutf8lib.c @@ -1,17 +1,19 @@ /* -** $Id: lutf8lib.c,v 1.11 2014/10/01 11:52:33 roberto Exp roberto $ +** $Id: lutf8lib.c,v 1.12 2014/10/15 14:31:10 roberto Exp roberto $ ** Standard library for UTF-8 manipulation ** See Copyright Notice in lua.h */ +#define lutf8lib_c +#define LUA_LIB + +#include "lprefix.h" + #include #include #include -#define lutf8lib_c -#define LUA_LIB - #include "lua.h" #include "lauxlib.h" diff --git a/lvm.c b/lvm.c index af4d9f0b..b554c8d8 100644 --- a/lvm.c +++ b/lvm.c @@ -1,18 +1,20 @@ /* -** $Id: lvm.c,v 2.225 2014/10/24 11:42:06 roberto Exp roberto $ +** $Id: lvm.c,v 2.226 2014/10/25 11:50:46 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ +#define lvm_c +#define LUA_CORE + +#include "lprefix.h" + #include #include #include #include -#define lvm_c -#define LUA_CORE - #include "lua.h" #include "ldebug.h" diff --git a/lzio.c b/lzio.c index 9cfa215c..63ade652 100644 --- a/lzio.c +++ b/lzio.c @@ -1,15 +1,17 @@ /* -** $Id: lzio.c,v 1.34 2011/07/15 12:35:32 roberto Exp roberto $ +** $Id: lzio.c,v 1.35 2012/05/14 13:34:18 roberto Exp roberto $ ** Buffered streams ** See Copyright Notice in lua.h */ - -#include - #define lzio_c #define LUA_CORE +#include "lprefix.h" + + +#include + #include "lua.h" #include "llimits.h"