[Scummvm-cvs-logs] CVS: residual/lua lsave.cpp,1.2,1.3 lua.h,1.5,1.6

Pawel Kolodziejski aquadran at users.sourceforge.net
Tue Jan 4 14:44:26 CET 2005


Update of /cvsroot/scummvm/residual/lua
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6063

Modified Files:
	lsave.cpp lua.h 
Log Message:
turn off (back) compatibilty switch. it's not needed, handle custom types and (nil) type is allready done but in diffrent way (not using fallback)

Index: lsave.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/lua/lsave.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- lsave.cpp	30 Dec 2004 08:04:55 -0000	1.2
+++ lsave.cpp	4 Jan 2005 22:42:46 -0000	1.3
@@ -133,7 +133,7 @@
 		}
 	}
 	
-	Closure	*tempClosure = (Closure *)L->rootcl.next;
+	Closure *tempClosure = (Closure *)L->rootcl.next;
 	while (tempClosure != NULL) {
 		saveFunc(&tempClosure, sizeof(Closure *));
 		saveFunc(&tempClosure->nelems, sizeof(int));

Index: lua.h
===================================================================
RCS file: /cvsroot/scummvm/residual/lua/lua.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- lua.h	25 Dec 2004 19:34:08 -0000	1.5
+++ lua.h	4 Jan 2005 22:42:47 -0000	1.6
@@ -143,7 +143,7 @@
 ** for compatibility with old versions. Avoid using these macros/functions
 ** If your program does need any of these, define LUA_COMPAT2_5
 */
-#define LUA_COMPAT2_5
+//#define LUA_COMPAT2_5
 
 #ifdef LUA_COMPAT2_5
 





More information about the Scummvm-git-logs mailing list