sourcemod/extensions/threader/extension.cpp

15 lines
271 B
C++
Raw Normal View History

#include "extension.h"
#include "thread/ThreadSupport.h"
Sample g_Sample;
MainThreader g_Threader;
SMEXT_LINK(&g_Sample);
bool Sample::SDK_OnLoad(char *error, size_t err_max, bool late)
{
g_pShareSys->AddInterface(myself, &g_Threader);
return true;
}