[Scummvm-cvs-logs] SF.net SVN: scummvm:[33214] residual/trunk/engine/lua

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Tue Jul 22 21:30:53 CEST 2008


Revision: 33214
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33214&view=rev
Author:   aquadran
Date:     2008-07-22 19:30:53 +0000 (Tue, 22 Jul 2008)

Log Message:
-----------
commented out lua save state

Modified Paths:
--------------
    residual/trunk/engine/lua/lrestore.cpp
    residual/trunk/engine/lua/lsave.cpp

Modified: residual/trunk/engine/lua/lrestore.cpp
===================================================================
--- residual/trunk/engine/lua/lrestore.cpp	2008-07-22 19:09:25 UTC (rev 33213)
+++ residual/trunk/engine/lua/lrestore.cpp	2008-07-22 19:30:53 UTC (rev 33214)
@@ -104,7 +104,7 @@
 
 void lua_Restore(SaveRestoreFunc restoreFunc) {
 	printf("lua_Restore() started.\n");
-
+/*
 	lua_close();
 	L = luaM_new(lua_State);
 	lua_resetglobals();
@@ -437,6 +437,6 @@
 	arrayClosures = NULL;
 	arrayProtoFuncs = NULL;
 	arrayStrings = NULL;
-
+*/
 	printf("lua_Restore() finished.\n");
 }

Modified: residual/trunk/engine/lua/lsave.cpp
===================================================================
--- residual/trunk/engine/lua/lsave.cpp	2008-07-22 19:09:25 UTC (rev 33213)
+++ residual/trunk/engine/lua/lsave.cpp	2008-07-22 19:30:53 UTC (rev 33214)
@@ -50,7 +50,7 @@
 
 void lua_Save(SaveRestoreFunc saveFunc) {
 	printf("lua_Save() started.\n");
-
+/*
 	lua_collectgarbage(0);
 	int32 i, l;
 	int32 countElements = 0;
@@ -289,6 +289,6 @@
 
 		tempTask = tempTask->next;
 	}
-
+*/
 	printf("lua_Save() finished.\n");
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list