mirror of
https://github.com/nzp-team/vhlt.git
synced 2024-11-22 03:41:20 +00:00
21 lines
420 B
C
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__
|