vhlt/common/blockmem.h
2016-09-21 00:07:53 +03:00

21 lines
420 B
C

#ifndef BLOCKMEM_H__
#define BLOCKMEM_H__
#include "cmdlib.h" //--vluzacn
#if _MSC_VER >= 1000
#pragma once
#endif
extern void* AllocBlock(unsigned long size);
extern bool FreeBlock(void* pointer);
extern void* Alloc(unsigned long size);
extern bool Free(void* pointer);
#if defined(CHECK_HEAP)
extern void HeapCheck();
#else
#define HeapCheck()
#endif
#endif // BLOCKMEM_H__