diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2016-07-08 11:04:19 +0200 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2016-07-08 11:04:19 +0200 |
commit | 8b2d71e601d1b9695aea084bb5bf7aa7dc0ca230 (patch) | |
tree | 5a98da37058475c0ca4c89916e03f81f83750d71 /c-api/compat-5.3.h | |
parent | 80588ca126d2d115437c5ebc85284f4cc6dd512e (diff) | |
download | lua-compat-5.3-8b2d71e601d1b9695aea084bb5bf7aa7dc0ca230.tar.gz lua-compat-5.3-8b2d71e601d1b9695aea084bb5bf7aa7dc0ca230.tar.bz2 lua-compat-5.3-8b2d71e601d1b9695aea084bb5bf7aa7dc0ca230.zip |
Fix lua_len and luaL_len to use lua_Integer.
Diffstat (limited to 'c-api/compat-5.3.h')
-rw-r--r-- | c-api/compat-5.3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c-api/compat-5.3.h b/c-api/compat-5.3.h index 2309294..ba90d81 100644 --- a/c-api/compat-5.3.h +++ b/c-api/compat-5.3.h | |||
@@ -138,7 +138,7 @@ COMPAT53_API void luaL_checkstack (lua_State *L, int sp, const char *msg); | |||
138 | COMPAT53_API int luaL_getsubtable (lua_State* L, int i, const char *name); | 138 | COMPAT53_API int luaL_getsubtable (lua_State* L, int i, const char *name); |
139 | 139 | ||
140 | #define luaL_len COMPAT53_CONCAT(COMPAT53_PREFIX, L_len) | 140 | #define luaL_len COMPAT53_CONCAT(COMPAT53_PREFIX, L_len) |
141 | COMPAT53_API int luaL_len (lua_State *L, int i); | 141 | COMPAT53_API lua_Integer luaL_len (lua_State *L, int i); |
142 | 142 | ||
143 | #define luaL_setfuncs COMPAT53_CONCAT(COMPAT53_PREFIX, L_setfuncs) | 143 | #define luaL_setfuncs COMPAT53_CONCAT(COMPAT53_PREFIX, L_setfuncs) |
144 | COMPAT53_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup); | 144 | COMPAT53_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup); |