diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2015-03-08 19:33:27 +0100 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2015-03-08 19:33:27 +0100 |
commit | 2e8e147bc5a23750ab3e2a145fccfbb39f9443df (patch) | |
tree | 692efdc32e6aa192cb831ac1dcfb45b85c1071b3 /c-api | |
parent | af77e00ac0d1a0ddbc9218e9b0ab12381396e253 (diff) | |
download | lua-compat-5.3-2e8e147bc5a23750ab3e2a145fccfbb39f9443df.tar.gz lua-compat-5.3-2e8e147bc5a23750ab3e2a145fccfbb39f9443df.tar.bz2 lua-compat-5.3-2e8e147bc5a23750ab3e2a145fccfbb39f9443df.zip |
remove support for luaL_Stream (due to LuaJIT incompatibility)
Diffstat (limited to 'c-api')
-rw-r--r-- | c-api/compat-5.3.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/c-api/compat-5.3.h b/c-api/compat-5.3.h index 87d5dfb..dc8d3ea 100644 --- a/c-api/compat-5.3.h +++ b/c-api/compat-5.3.h | |||
@@ -6,7 +6,6 @@ | |||
6 | #include <string.h> | 6 | #include <string.h> |
7 | #include <lua.h> | 7 | #include <lua.h> |
8 | #include <lauxlib.h> | 8 | #include <lauxlib.h> |
9 | #include <lualib.h> | ||
10 | 9 | ||
11 | 10 | ||
12 | #if defined(COMPAT53_PREFIX) | 11 | #if defined(COMPAT53_PREFIX) |
@@ -71,18 +70,6 @@ | |||
71 | #define LUA_OPLT 1 | 70 | #define LUA_OPLT 1 |
72 | #define LUA_OPLE 2 | 71 | #define LUA_OPLE 2 |
73 | 72 | ||
74 | typedef struct luaL_Stream { | ||
75 | FILE *f; | ||
76 | /* The following field is for LuaJIT which adds a uint32_t field | ||
77 | * to file handles. */ | ||
78 | #if INT_MAX > 2147483640L | ||
79 | unsigned int type; | ||
80 | #else | ||
81 | unsigned long type; | ||
82 | #endif | ||
83 | lua_CFunction closef; | ||
84 | } luaL_Stream; | ||
85 | |||
86 | typedef size_t lua_Unsigned; | 73 | typedef size_t lua_Unsigned; |
87 | 74 | ||
88 | typedef struct luaL_Buffer_53 { | 75 | typedef struct luaL_Buffer_53 { |