diff options
| -rw-r--r-- | c-api/compat-5.3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c-api/compat-5.3.h b/c-api/compat-5.3.h index 7dd77c6..3694df1 100644 --- a/c-api/compat-5.3.h +++ b/c-api/compat-5.3.h | |||
| @@ -316,6 +316,9 @@ COMPAT53_API void luaL_requiref (lua_State *L, const char *modname, | |||
| 316 | #define lua_getuservalue(L, i) \ | 316 | #define lua_getuservalue(L, i) \ |
| 317 | (lua_getuservalue(L, i), lua_type(L, -1)) | 317 | (lua_getuservalue(L, i), lua_type(L, -1)) |
| 318 | 318 | ||
| 319 | #define lua_pushlstring(L, s, len) \ | ||
| 320 | (((len) == 0) ? lua_pushlstring(L, "", 0) : lua_pushlstring(L, (s), (len))) | ||
| 321 | |||
| 319 | #define lua_rawgetp(L, i, p) \ | 322 | #define lua_rawgetp(L, i, p) \ |
| 320 | (lua_rawgetp(L, i, p), lua_type(L, -1)) | 323 | (lua_rawgetp(L, i, p), lua_type(L, -1)) |
| 321 | 324 | ||
