aboutsummaryrefslogtreecommitdiff
path: root/c-api
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-09-08 18:19:30 +1000
committerdaurnimator <quae@daurnimator.com>2017-09-08 18:19:30 +1000
commitc0db566ba0a42d5beebce46ba1af9273c85d7536 (patch)
tree449168717d1709cc5f540aff32a1faf045fe3c63 /c-api
parent10370263952bb68315206916d94df574991a1d5d (diff)
downloadlua-compat-5.3-c0db566ba0a42d5beebce46ba1af9273c85d7536.tar.gz
lua-compat-5.3-c0db566ba0a42d5beebce46ba1af9273c85d7536.tar.bz2
lua-compat-5.3-c0db566ba0a42d5beebce46ba1af9273c85d7536.zip
Add LUA_FILEHANDLE define
Diffstat (limited to 'c-api')
-rw-r--r--c-api/compat-5.3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c-api/compat-5.3.h b/c-api/compat-5.3.h
index bee77a1..886b5ba 100644
--- a/c-api/compat-5.3.h
+++ b/c-api/compat-5.3.h
@@ -87,6 +87,9 @@ extern "C" {
87#ifndef LUA_OPLE 87#ifndef LUA_OPLE
88# define LUA_OPLE 2 88# define LUA_OPLE 2
89#endif 89#endif
90#ifndef LUA_FILEHANDLE
91# define LUA_FILEHANDLE "FILE*"
92#endif
90 93
91typedef size_t lua_Unsigned; 94typedef size_t lua_Unsigned;
92 95