diff options
author | chai <chaifix@163.com> | 2018-10-26 08:28:21 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-26 08:28:21 +0800 |
commit | ba97a053286bdb17643448cc5034c71065bc4e86 (patch) | |
tree | 9744e33dc9da330a4ba294b6f4df7938974bae7a /build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_state.h | |
parent | 519bc6735f34b8bc79f696996fdc4defee5253f8 (diff) |
-删除无用的Libs
Diffstat (limited to 'build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_state.h')
-rw-r--r-- | build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_state.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_state.h b/build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_state.h deleted file mode 100644 index d5b476b..0000000 --- a/build/vc++/libs/LuaJIT-2.0.5/include/LuaJIT/lj_state.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -** State and stack handling. -** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h -*/ - -#ifndef _LJ_STATE_H -#define _LJ_STATE_H - -#include "lj_obj.h" - -#define incr_top(L) \ - (++L->top >= tvref(L->maxstack) && (lj_state_growstack1(L), 0)) - -#define savestack(L, p) ((char *)(p) - mref(L->stack, char)) -#define restorestack(L, n) ((TValue *)(mref(L->stack, char) + (n))) - -LJ_FUNC void lj_state_relimitstack(lua_State *L); -LJ_FUNC void lj_state_shrinkstack(lua_State *L, MSize used); -LJ_FUNCA void LJ_FASTCALL lj_state_growstack(lua_State *L, MSize need); -LJ_FUNC void LJ_FASTCALL lj_state_growstack1(lua_State *L); - -static LJ_AINLINE void lj_state_checkstack(lua_State *L, MSize need) -{ - if ((mref(L->maxstack, char) - (char *)L->top) <= - (ptrdiff_t)need*(ptrdiff_t)sizeof(TValue)) - lj_state_growstack(L, need); -} - -LJ_FUNC lua_State *lj_state_new(lua_State *L); -LJ_FUNC void LJ_FASTCALL lj_state_free(global_State *g, lua_State *L); -#if LJ_64 -LJ_FUNC lua_State *lj_state_newstate(lua_Alloc f, void *ud); -#endif - -#endif |