mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
5bf6b21649
Implemented recovery a virtual table in GetClassPtr<BasClass> after linking of self class.
23 lines
682 B
C
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
|