diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | c-api/compat-5.3.h | 13 |
2 files changed, 0 insertions, 15 deletions
| @@ -117,8 +117,6 @@ For Lua 5.1 additionally: | |||
| 117 | * `LUA_OK` | 117 | * `LUA_OK` |
| 118 | * `LUA_OP*` macros for `lua_arith` and `lua_compare` | 118 | * `LUA_OP*` macros for `lua_arith` and `lua_compare` |
| 119 | * `lua_Unsigned` | 119 | * `lua_Unsigned` |
| 120 | * `luaL_Stream` | ||
| 121 | * `LUA_FILEHANDLE` | ||
| 122 | * `lua_absindex` | 120 | * `lua_absindex` |
| 123 | * `lua_arith` | 121 | * `lua_arith` |
| 124 | * `lua_compare` | 122 | * `lua_compare` |
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 { |
