Remove undesired spaces and an old TODO

svn-id: r30827
This commit is contained in:
Jordi Vilalta Prat 2008-02-08 01:45:46 +00:00
parent 00987db3a9
commit e3852c92a7
4 changed files with 36 additions and 38 deletions

View file

@ -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(); \
} \