aboutsummaryrefslogtreecommitdiff
path: root/c-api/compat-5.3.h
diff options
context:
space:
mode:
Diffstat (limited to 'c-api/compat-5.3.h')
-rw-r--r--c-api/compat-5.3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c-api/compat-5.3.h b/c-api/compat-5.3.h
index 755c23e..6b6e35c 100644
--- a/c-api/compat-5.3.h
+++ b/c-api/compat-5.3.h
@@ -165,6 +165,8 @@ COMPAT53_API void lua_rawsetp(lua_State *L, int i, const void *p);
165 165
166#define lua_rawlen(L, i) lua_objlen((L), (i)) 166#define lua_rawlen(L, i) lua_objlen((L), (i))
167 167
168#define lua_tointeger(L, i) lua_tointegerx((L), (i), NULL)
169
168#define lua_tointegerx COMPAT53_CONCAT(COMPAT53_PREFIX, _tointegerx) 170#define lua_tointegerx COMPAT53_CONCAT(COMPAT53_PREFIX, _tointegerx)
169COMPAT53_API lua_Integer lua_tointegerx (lua_State *L, int i, int *isnum); 171COMPAT53_API lua_Integer lua_tointegerx (lua_State *L, int i, int *isnum);
170 172