diff options
Diffstat (limited to 'c-api/compat-5.3.h')
-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 { |