ReGameDLL_CS/regamedll/hookers/hooklist.h
s1lent adaddda871
Code cleanup
Hookers Refactoring
Removed __MAKE_VHOOK
Fix compilation under linux with ICC 17 (GCC 6.2)
2017-07-02 18:54:33 +07:00

27 lines
696 B
C

#pragma once
#include "hookers/memory.h"
#include "hookers/helper.h"
#include "hookers/hooker.h"
#define _LOG_TRACE\
static int iNumPassed = 0;\
printf2("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed++);
#define _LOG_TRACE2\
static int iNumPassed2 = 0;\
printf2("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed2++);\
_logf("%s:: iNumPassed - %d", __FUNCTION__, iNumPassed2++);
#ifdef HOOK_GAMEDLL
// STL containers Visual Studio 6.0
#include "stl/vector"
#include "stl/list"
#define STD_LIST list_vs6 // use STL containers of the old version from Visual Studio 6.0 sp6
#define STD_VECTOR vector_vs6
#else
#define STD_LIST list
#define STD_VECTOR vector
#endif // HOOK_GAMEDLL