diff options
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compat.h b/src/compat.h index 6307d86..1789a8b 100644 --- a/src/compat.h +++ b/src/compat.h | |||
@@ -67,14 +67,6 @@ inline void lua_pushglobaltable(lua_State* L_) | |||
67 | lua_pushvalue(L_, LUA_GLOBALSINDEX); | 67 | lua_pushvalue(L_, LUA_GLOBALSINDEX); |
68 | } | 68 | } |
69 | #endif // LUAJIT_VERSION_NUM | 69 | #endif // LUAJIT_VERSION_NUM |
70 | inline int lua_setuservalue(lua_State* L_, int idx_) | ||
71 | { | ||
72 | return lua_setfenv(L_, idx_); | ||
73 | } | ||
74 | inline void lua_getuservalue(lua_State* L_, int idx_) | ||
75 | { | ||
76 | lua_getfenv(L_, idx_); | ||
77 | } | ||
78 | inline size_t lua_rawlen(lua_State* L_, int idx_) | 70 | inline size_t lua_rawlen(lua_State* L_, int idx_) |
79 | { | 71 | { |
80 | return lua_objlen(L_, idx_); | 72 | return lua_objlen(L_, idx_); |