mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
bug fixes from Overhaul:
- Data type changes - Templates removed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -240,7 +240,7 @@ void ShutdownMemoryManager( void )
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
||||
PTR MemAllocReal( UINT32 uiSize, const char *pcFile, INT32 iLine )
|
||||
PTR MemAllocReal( UINT32 uiSize, const STR8 pcFile, INT32 iLine )
|
||||
{
|
||||
PTR ptr;
|
||||
|
||||
@@ -273,7 +273,7 @@ PTR MemAllocReal( UINT32 uiSize, const char *pcFile, INT32 iLine )
|
||||
}
|
||||
|
||||
|
||||
void MemFreeReal( PTR ptr, const char *pcFile, INT32 iLine )
|
||||
void MemFreeReal( PTR ptr, const STR8 pcFile, INT32 iLine )
|
||||
{
|
||||
UINT32 uiSize;
|
||||
|
||||
@@ -303,7 +303,7 @@ void MemFreeReal( PTR ptr, const char *pcFile, INT32 iLine )
|
||||
}
|
||||
|
||||
|
||||
PTR MemReallocReal( PTR ptr, UINT32 uiSize, const char *pcFile, INT32 iLine )
|
||||
PTR MemReallocReal( PTR ptr, UINT32 uiSize, const STR8 pcFile, INT32 iLine )
|
||||
{
|
||||
PTR ptrNew;
|
||||
UINT32 uiOldSize;
|
||||
@@ -491,7 +491,7 @@ BOOLEAN MemCheckPool( void )
|
||||
|
||||
#ifdef EXTREME_MEMORY_DEBUGGING
|
||||
|
||||
PTR MemAllocXDebug( UINT32 size, const char *szCodeString, INT32 iLineNum, void *pSpecial )
|
||||
PTR MemAllocXDebug( UINT32 size, const STR8 szCodeString, INT32 iLineNum, void *pSpecial )
|
||||
{
|
||||
PTR ptr;
|
||||
UINT16 usLength;
|
||||
@@ -552,7 +552,7 @@ PTR MemAllocXDebug( UINT32 size, const char *szCodeString, INT32 iLineNum, void
|
||||
return( ptr );
|
||||
}
|
||||
|
||||
void MemFreeXDebug( PTR ptr, const char *szCodeString, INT32 iLineNum, void *pSpecial )
|
||||
void MemFreeXDebug( PTR ptr, const STR8 szCodeString, INT32 iLineNum, void *pSpecial )
|
||||
{
|
||||
MEMORY_NODE *curr;
|
||||
|
||||
@@ -597,7 +597,7 @@ void MemFreeXDebug( PTR ptr, const char *szCodeString, INT32 iLineNum, void *pSp
|
||||
}
|
||||
}
|
||||
|
||||
PTR MemReallocXDebug( PTR ptr, UINT32 size, const char *szCodeString, INT32 iLineNum, void *pSpecial )
|
||||
PTR MemReallocXDebug( PTR ptr, UINT32 size, const STR8 szCodeString, INT32 iLineNum, void *pSpecial )
|
||||
{
|
||||
MEMORY_NODE *curr;
|
||||
PTR ptrNew;
|
||||
|
||||
Reference in New Issue
Block a user