diff options
author | Jordi Vilalta Prat | 2008-02-08 01:45:46 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-02-08 01:45:46 +0000 |
commit | e3852c92a77fef402bb37863a8430f76275c38bf (patch) | |
tree | 1aef9b24d62eac246a4c2a1faa0d4c5070f7a74f /base | |
parent | 00987db3a97f37439cfc6e70991a08fde424d2b3 (diff) | |
download | scummvm-rg350-e3852c92a77fef402bb37863a8430f76275c38bf.tar.gz scummvm-rg350-e3852c92a77fef402bb37863a8430f76275c38bf.tar.bz2 scummvm-rg350-e3852c92a77fef402bb37863a8430f76275c38bf.zip |
Remove undesired spaces and an old TODO
svn-id: r30827
Diffstat (limited to 'base')
-rw-r--r-- | base/plugins.cpp | 2 | ||||
-rw-r--r-- | base/plugins.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp index e7b1faff94..90b377ff45 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -93,7 +93,7 @@ public: PluginList pl; #define LINK_PLUGIN(ID) \ - extern PluginType g_##ID##_type; \ + extern PluginType g_##ID##_type; \ extern PluginObject *g_##ID##_getObject(); \ pl.push_back(new StaticPlugin(g_##ID##_getObject(), g_##ID##_type)); diff --git a/base/plugins.h b/base/plugins.h index 6da8af0ab0..da48a7c22a 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -111,7 +111,7 @@ public: #ifndef DYNAMIC_MODULES #define REGISTER_PLUGIN(ID,TYPE,PLUGINCLASS) \ - PluginType g_##ID##_type = TYPE; \ + PluginType g_##ID##_type = TYPE; \ PluginObject *g_##ID##_getObject() { \ return new PLUGINCLASS(); \ } \ @@ -119,9 +119,9 @@ public: #else #define REGISTER_PLUGIN(ID,TYPE,PLUGINCLASS) \ extern "C" { \ - PLUGIN_EXPORT int32 PLUGIN_getVersion() { return PLUGIN_VERSION; } \ - PLUGIN_EXPORT int32 PLUGIN_getType() { return TYPE; } \ - PLUGIN_EXPORT int32 PLUGIN_getTypeVersion() { return TYPE##_VERSION; } \ + PLUGIN_EXPORT int32 PLUGIN_getVersion() { return PLUGIN_VERSION; } \ + PLUGIN_EXPORT int32 PLUGIN_getType() { return TYPE; } \ + PLUGIN_EXPORT int32 PLUGIN_getTypeVersion() { return TYPE##_VERSION; } \ PLUGIN_EXPORT PluginObject *PLUGIN_getObject() { \ return new PLUGINCLASS(); \ } \ |