Skip to content

Commit

Permalink
SWORD25: Remove now unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
wjp committed Feb 2, 2016
1 parent 75f1d2e commit ad688f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions engines/sword25/util/lua_persistence_util.cpp
Expand Up @@ -280,15 +280,6 @@ void lua_reallocstack(lua_State *L, int newsize) {
correctStack(L, oldstack);
}

void lua_growstack(lua_State *L, int n) {
// Double size is enough?
if (n <= L->stacksize) {
lua_reallocstack(L, 2 * L->stacksize);
} else {
lua_reallocstack(L, L->stacksize + n);
}
}

void lua_reallocCallInfo(lua_State *lauState, int newsize) {
CallInfo *oldci = lauState->base_ci;
lua_reallocvector(lauState, lauState->base_ci, lauState->size_ci, newsize, CallInfo);
Expand Down
1 change: 0 additions & 1 deletion engines/sword25/util/lua_persistence_util.h
Expand Up @@ -90,7 +90,6 @@ void unboxUpValue(lua_State *luaState);
size_t appendStackToStack_reverse(lua_State *from, lua_State *to);
void correctStack(lua_State *L, TValue *oldstack);
void lua_reallocstack(lua_State *L, int newsize);
void lua_growstack(lua_State *L, int n);

void lua_reallocCallInfo(lua_State *lauState, int newsize);

Expand Down

0 comments on commit ad688f9

Please sign in to comment.