[Scummvm-cvs-logs] SF.net SVN: scummvm:[51590] scummvm/trunk/engines/advancedDetector.h

sev at users.sourceforge.net sev at users.sourceforge.net
Sun Aug 1 22:47:46 CEST 2010


Revision: 51590
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51590&view=rev
Author:   sev
Date:     2010-08-01 20:47:46 +0000 (Sun, 01 Aug 2010)

Log Message:
-----------
AdvancedDetector: Introducing AD_LISTEND, another convenience macro

Modified Paths:
--------------
    scummvm/trunk/engines/advancedDetector.h

Modified: scummvm/trunk/engines/advancedDetector.h
===================================================================
--- scummvm/trunk/engines/advancedDetector.h	2010-08-01 19:57:03 UTC (rev 51589)
+++ scummvm/trunk/engines/advancedDetector.h	2010-08-01 20:47:46 UTC (rev 51590)
@@ -38,9 +38,11 @@
 	int32 fileSize;  // Optional. Set to -1 to ignore.
 };
 
-#define AD_ENTRY1(f, x) {{ f, 0, x, -1}, {NULL, 0, NULL, 0}}
-#define AD_ENTRY1s(f, x, s) {{ f, 0, x, s}, {NULL, 0, NULL, 0}}
+#define AD_LISTEND {NULL, 0, NULL, 0}
 
+#define AD_ENTRY1(f, x) {{ f, 0, x, -1}, AD_LISTEND}
+#define AD_ENTRY1s(f, x, s) {{ f, 0, x, s}, AD_LISTEND}
+
 enum ADGameFlags {
 	ADGF_NO_FLAGS = 0,
 	ADGF_MACRESFORK = (1 << 25), // the md5 for this entry will be calculated from the resource fork


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