From a7da6651b9616801f256871a296db15f7ee74a57 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Sun, 22 May 2005 04:33:58 +0000 Subject: [PATCH] Added macro so that ConCommands created with the SDK's CON_COMMAND and CON_COMMAND_F macros can be properly registered and unregisterd --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4067 --- sourcemm/ISmmPlugin.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sourcemm/ISmmPlugin.h b/sourcemm/ISmmPlugin.h index d03ab36..7830352 100644 --- a/sourcemm/ISmmPlugin.h +++ b/sourcemm/ISmmPlugin.h @@ -140,6 +140,8 @@ public: #define META_LOG g_SMAPI->LogMsg +#define CONCMD_VARNAME(name) name##_command + #if !defined SMM_API #if defined __WIN32__ || defined _WIN32 || defined WIN32 #define SMM_API extern "C" __declspec(dllexport)