summaryrefslogtreecommitdiff
path: root/Build/source/libs/lua52/TLPATCHES/patch-03-export
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
committerKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
commit5ef2fb04a27cd5ef7c85fbefec889b2503259290 (patch)
tree5d213e7091d68bc4226e68d6ad83ffc774dfe370 /Build/source/libs/lua52/TLPATCHES/patch-03-export
parentcdedcff919defc8bac478adf4411c495e08ccd25 (diff)
rename foo/foo-PATCHES to foo/TLPATCHES for better completion
git-svn-id: svn://tug.org/texlive/trunk@43212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/lua52/TLPATCHES/patch-03-export')
-rw-r--r--Build/source/libs/lua52/TLPATCHES/patch-03-export33
1 files changed, 33 insertions, 0 deletions
diff --git a/Build/source/libs/lua52/TLPATCHES/patch-03-export b/Build/source/libs/lua52/TLPATCHES/patch-03-export
new file mode 100644
index 00000000000..2c2edd01b6a
--- /dev/null
+++ b/Build/source/libs/lua52/TLPATCHES/patch-03-export
@@ -0,0 +1,33 @@
+diff -ur lua-5.2.4.orig/src/lopcodes.h lua-5.2.4/src/lopcodes.h
+--- lua-5.2.4.orig/src/lopcodes.h 2014-10-20 20:32:09.000000000 +0200
++++ lua-5.2.4/src/lopcodes.h 2015-03-11 08:31:42.000000000 +0100
+@@ -269,7 +269,7 @@
+ 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))
+@@ -278,7 +278,7 @@
+ #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 -ur lua-5.2.4.orig/src/lundump.h lua-5.2.4/src/lundump.h
+--- lua-5.2.4.orig/src/lundump.h 2013-04-12 20:48:47.000000000 +0200
++++ lua-5.2.4/src/lundump.h 2014-10-22 11:14:59.000000000 +0200
+@@ -17,7 +17,7 @@
+ LUAI_FUNC void luaU_header (lu_byte* h);
+
+ /* dump one chunk; from ldump.c */
+-LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
++LUA_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
+
+ /* data to catch conversion errors */
+ #define LUAC_TAIL "\x19\x93\r\n\x1a\n"