mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +01:00
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
This commit is contained in:
parent
c336ea0818
commit
a7da6651b9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user