sourcemm/ISmmPlugin.h
changeset 139 84948190c34b
parent 138 dfa3b31cc042
child 140 800dc9ba92c5
     1.1 --- a/sourcemm/ISmmPlugin.h	Thu Oct 20 14:37:47 2005 +0000
     1.2 +++ b/sourcemm/ISmmPlugin.h	Thu Oct 20 14:52:49 2005 +0000
     1.3 @@ -24,7 +24,6 @@
     1.4  #define PLAPI_NAME		"ISmmPlugin"
     1.5  
     1.6  class ISmmAPI;
     1.7 -typedef int PluginId;
     1.8  
     1.9  class ISmmPlugin
    1.10  {
    1.11 @@ -224,10 +223,6 @@
    1.12  	g_PLAPI = static_cast<ISmmPlugin *>(this); \
    1.13  	g_PLID = id;
    1.14  
    1.15 -#define FACTORY_RETURN(mres, value) \
    1.16 -	g_SMAPI->SetLastMetaReturn(mres); \
    1.17 -	return value;
    1.18 -
    1.19  #define META_LOG				g_SMAPI->LogMsg
    1.20  #define META_REGCMD(name)		g_SMAPI->RegisterConCmdBase(g_PLAPI, name##_command)
    1.21  #define META_REGCVAR(var)		g_SMAPI->RegisterConCmdBase(g_PLAPI, var)