1234567891011121314151617181920 |
- #ifndef BLOCKMEM_H__
- #define BLOCKMEM_H__
- #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__
|