[Scummvm-cvs-logs] SF.net SVN: scummvm:[52611] scummvm/branches/gsoc2010-plugins/backends/ plugins/dynamic-plugin.h

dhewg at users.sourceforge.net dhewg at users.sourceforge.net
Tue Sep 7 00:17:23 CEST 2010


Revision: 52611
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52611&view=rev
Author:   dhewg
Date:     2010-09-06 22:17:23 +0000 (Mon, 06 Sep 2010)

Log Message:
-----------
PLUGINS: Formatting.

Modified Paths:
--------------
    scummvm/branches/gsoc2010-plugins/backends/plugins/dynamic-plugin.h

Modified: scummvm/branches/gsoc2010-plugins/backends/plugins/dynamic-plugin.h
===================================================================
--- scummvm/branches/gsoc2010-plugins/backends/plugins/dynamic-plugin.h	2010-09-06 21:17:26 UTC (rev 52610)
+++ scummvm/branches/gsoc2010-plugins/backends/plugins/dynamic-plugin.h	2010-09-06 22:17:23 UTC (rev 52611)
@@ -44,6 +44,7 @@
 			unloadPlugin();
 			return false;
 		}
+
 		if (verFunc() != PLUGIN_VERSION) {
 			warning("Plugin uses a different API version (you have: '%d', needed is: '%d')", verFunc(), PLUGIN_VERSION);
 			unloadPlugin();
@@ -56,6 +57,7 @@
 			unloadPlugin();
 			return false;
 		}
+
 		_type = (PluginType)typeFunc();
 		if (_type >= PLUGIN_TYPE_MAX) {
 			warning("Plugin type unknown: %d", _type);
@@ -69,6 +71,7 @@
 			unloadPlugin();
 			return false;
 		}
+
 		if (typeVerFunc() != pluginTypeVersions[_type]) {
 			warning("Plugin uses a different type API version (you have: '%d', needed is: '%d')", typeVerFunc(), pluginTypeVersions[_type]);
 			unloadPlugin();


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