Added macro so that ConCommands created with the SDK's CON_COMMAND and CON_COMMAND_F macros can be properly registered and unregisterd
Added macro so that ConCommands created with the SDK's CON_COMMAND and CON_COMMAND_F macros can be properly registered and unregisterd
1.1 --- a/sourcemm/ISmmPlugin.h Sun May 22 03:35:33 2005 +0000
1.2 +++ b/sourcemm/ISmmPlugin.h Sun May 22 04:33:58 2005 +0000
1.3 @@ -140,6 +140,8 @@
1.4
1.5 #define META_LOG g_SMAPI->LogMsg
1.6
1.7 +#define CONCMD_VARNAME(name) name##_command
1.8 +
1.9 #if !defined SMM_API
1.10 #if defined __WIN32__ || defined _WIN32 || defined WIN32
1.11 #define SMM_API extern "C" __declspec(dllexport)