diff options
author | Paul Gilbert | 2016-07-26 19:48:14 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-26 19:48:14 -0400 |
commit | 504cf6ecb688a3f1c65a857bffd527d8b0e6ba63 (patch) | |
tree | 0c0d96d4061c11850c851f0fc981c75a58c20515 /engines/sword25/util/lua_persistence_util.cpp | |
parent | d8c28d15ae553d047b7e571f98727fa79ee143f3 (diff) | |
parent | e19922d181e775791f9105b8be7ff410770ede51 (diff) | |
download | scummvm-rg350-504cf6ecb688a3f1c65a857bffd527d8b0e6ba63.tar.gz scummvm-rg350-504cf6ecb688a3f1c65a857bffd527d8b0e6ba63.tar.bz2 scummvm-rg350-504cf6ecb688a3f1c65a857bffd527d8b0e6ba63.zip |
Merge branch 'master' into xeen
Diffstat (limited to 'engines/sword25/util/lua_persistence_util.cpp')
-rw-r--r-- | engines/sword25/util/lua_persistence_util.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/sword25/util/lua_persistence_util.cpp b/engines/sword25/util/lua_persistence_util.cpp index 958fb7ac3c..d0192c2e66 100644 --- a/engines/sword25/util/lua_persistence_util.cpp +++ b/engines/sword25/util/lua_persistence_util.cpp @@ -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); |