1 diff -ur lua-5.2.4.orig/src/lopcodes.h lua-5.2.4/src/lopcodes.h
2 --- lua-5.2.4.orig/src/lopcodes.h 2014-10-20 20:32:09.000000000 +0200
3 +++ lua-5.2.4/src/lopcodes.h 2015-03-11 08:31:42.000000000 +0100
5 OpArgK /* argument is a constant or register/constant */
8 -LUAI_DDEC const lu_byte luaP_opmodes[NUM_OPCODES];
9 +LUA_API const lu_byte luaP_opmodes[NUM_OPCODES];
11 #define getOpMode(m) (cast(enum OpMode, luaP_opmodes[m] & 3))
12 #define getBMode(m) (cast(enum OpArgMask, (luaP_opmodes[m] >> 4) & 3))
14 #define testTMode(m) (luaP_opmodes[m] & (1 << 7))
17 -LUAI_DDEC const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */
18 +LUA_API const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */
21 /* number of list items to accumulate before a SETLIST instruction */
22 diff -ur lua-5.2.4.orig/src/lundump.h lua-5.2.4/src/lundump.h
23 --- lua-5.2.4.orig/src/lundump.h 2013-04-12 20:48:47.000000000 +0200
24 +++ lua-5.2.4/src/lundump.h 2014-10-22 11:14:59.000000000 +0200
26 LUAI_FUNC void luaU_header (lu_byte* h);
28 /* dump one chunk; from ldump.c */
29 -LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
30 +LUA_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
32 /* data to catch conversion errors */
33 #define LUAC_TAIL "\x19\x93\r\n\x1a\n"