소스 검색

[Minor] Remove obsoleted compat functions that are no longer used

tags/3.5
Vsevolod Stakhov 1 년 전
부모
커밋
8f35dd5970
No account linked to committer's email address
1개의 변경된 파일0개의 추가작업 그리고 14개의 파일을 삭제
  1. 0
    14
      src/lua/lua_common.h

+ 0
- 14
src/lua/lua_common.h 파일 보기

@@ -69,20 +69,6 @@ static inline int lua_absindex (lua_State *L, int i) {
}
#endif

static inline int lua_rawgetp (lua_State *L, int i, const void *p) {
int abs_i = lua_absindex(L, i);
lua_pushlightuserdata(L, (void*)p);
lua_rawget(L, abs_i);
return lua_type(L, -1);
}

static inline void lua_rawsetp (lua_State *L, int i, const void *p) {
int abs_i = lua_absindex(L, i);
luaL_checkstack(L, 1, "not enough stack slots");
lua_pushlightuserdata(L, (void*)p);
lua_insert(L, -2);
lua_rawset(L, abs_i);
}
#endif

/* Interface definitions */

Loading…
취소
저장