summaryrefslogtreecommitdiffstats
path: root/lua-5.3.0-luac-shared-link-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lua-5.3.0-luac-shared-link-fix.patch')
-rw-r--r--lua-5.3.0-luac-shared-link-fix.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/lua-5.3.0-luac-shared-link-fix.patch b/lua-5.3.0-luac-shared-link-fix.patch
deleted file mode 100644
index b65e7f0..0000000
--- a/lua-5.3.0-luac-shared-link-fix.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -up lua-5.3.0/src/lopcodes.c.luac-shared lua-5.3.0/src/lopcodes.c
---- lua-5.3.0/src/lopcodes.c.luac-shared 2015-01-05 08:48:33.000000000 -0500
-+++ lua-5.3.0/src/lopcodes.c 2015-01-15 10:24:16.014509744 -0500
-@@ -17,7 +17,7 @@
-
- /* ORDER OP */
-
--LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = {
-+LUA_API const char *const luaP_opnames[NUM_OPCODES+1] = {
- "MOVE",
- "LOADK",
- "LOADKX",
-@@ -71,7 +71,7 @@ LUAI_DDEF const char *const luaP_opnames
-
- #define opmode(t,a,b,c,m) (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m))
-
--LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = {
-+LUA_API const lu_byte luaP_opmodes[NUM_OPCODES] = {
- /* T A B C mode opcode */
- opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_MOVE */
- ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_LOADK */
-diff -up lua-5.3.0/src/lopcodes.h.luac-shared lua-5.3.0/src/lopcodes.h
---- lua-5.3.0/src/lopcodes.h.luac-shared 2014-10-25 07:50:46.000000000 -0400
-+++ lua-5.3.0/src/lopcodes.h 2015-01-15 10:24:16.015509738 -0500
-@@ -276,7 +276,7 @@ enum OpArgMask {
- OpArgK /* argument is a constant or register/constant */
- };
-
--LUAI_DDEC const lu_byte luaP_opmodes[NUM_OPCODES];
-+LUA_API const lu_byte luaP_opmodes[NUM_OPCODES];
-
- #define getOpMode(m) (cast(enum OpMode, luaP_opmodes[m] & 3))
- #define getBMode(m) (cast(enum OpArgMask, (luaP_opmodes[m] >> 4) & 3))
-@@ -285,7 +285,7 @@ LUAI_DDEC const lu_byte luaP_opmodes[NUM
- #define testTMode(m) (luaP_opmodes[m] & (1 << 7))
-
-
--LUAI_DDEC const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */
-+LUA_API const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */
-
-
- /* number of list items to accumulate before a SETLIST instruction */
-diff -up lua-5.3.0/src/lundump.h.luac-shared lua-5.3.0/src/lundump.h
---- lua-5.3.0/src/lundump.h.luac-shared 2015-01-15 10:24:16.015509738 -0500
-+++ lua-5.3.0/src/lundump.h 2015-01-15 10:25:12.651209770 -0500
-@@ -27,7 +27,7 @@ LUAI_FUNC LClosure* luaU_undump (lua_Sta
- const char* name);
-
- /* dump one chunk; from ldump.c */
--LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w,
-+LUA_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w,
- void* data, int strip);
-
- #endif