ReGameDLL_CS/regamedll/hookers/regamedll_debug.h
s1lentq 5bf6b21649 Added a new reverse the functions.
Implemented recovery a virtual table in GetClassPtr<BasClass> after linking of self class.
2015-08-03 00:17:07 +06:00

23 lines
682 B
C

#pragma once
#include "osconfig.h"
#include "maintypes.h"
#include "memory.h"
#ifdef _WIN32
extern void Regamedll_Debug_logAlloc(size_t sz, void *ptr);
extern void Regamedll_Debug_logRealloc(size_t sz, void *oldPtr, void *newPtr);
extern void Regamedll_Debug_logFree(void *ptr);
extern void Regamedll_Debug_logStrDup(const char *s, void *ptr);
extern void Regamedll_Debug_Init(void);
#if defined(_WIN32) && !defined(REGAMEDLL_UNIT_TESTS)
extern void Regamedll_Game_Init(void);
#endif // _WIN32 && REGAMEDLL_UNIT_TESTS
extern void _printf2(const char *fmt, ...);
extern void _print_chat(class CBasePlayer *pPlayer, const char *fmt, ...);
#endif // _WIN32