From 2e8e147bc5a23750ab3e2a145fccfbb39f9443df Mon Sep 17 00:00:00 2001 From: Philipp Janda Date: Sun, 8 Mar 2015 19:33:27 +0100 Subject: remove support for luaL_Stream (due to LuaJIT incompatibility) --- c-api/compat-5.3.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'c-api') 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 @@ #include #include #include -#include #if defined(COMPAT53_PREFIX) @@ -71,18 +70,6 @@ #define LUA_OPLT 1 #define LUA_OPLE 2 -typedef struct luaL_Stream { - FILE *f; - /* The following field is for LuaJIT which adds a uint32_t field - * to file handles. */ -#if INT_MAX > 2147483640L - unsigned int type; -#else - unsigned long type; -#endif - lua_CFunction closef; -} luaL_Stream; - typedef size_t lua_Unsigned; typedef struct luaL_Buffer_53 { -- cgit v1.2.3-55-g6feb