#include "ToshiPCH.h"
#include "Toshi/TDebug.h"
#include "Thread/T2Mutex.h"
#include <Windows.h>
#include <Core/TMemoryDebugOn.h>
#include "resource.h"
Go to the source code of this file.
Functions | |
void | TDebug_AcquireMutex () |
void | TDebug_ReleaseMutex () |
TBOOL | TDebug_IsValidAddress (const void *a_pPtr) |
void | TDebug_FinalPrintf (const TCHAR *a_szFormat,...) |
void | TDebug_FinalVPrintf (const TCHAR *a_szFormat, va_list a_Args) |
void | TDebug_FinalSPrintf (const TCHAR *a_szFormat,...) |
void | TDebug_FinalVSPrintf (const TCHAR *a_szFormat, va_list a_Args) |
void | TDebug_OutputDebugString (const TCHAR *a_szString) |
void | TDebug_BroadcastDebugString (const TCHAR *a_szString) |
BOOL CALLBACK | TDebug_AssertionDlgProc (HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) |
TINT | TDebug_AssertHandler (const TCHAR *a_szExpression, const TCHAR *a_szFileName, TUINT a_uiLineNumber, const TCHAR *a_szDescription) |
Variables | |
TCHAR | TDebug_ScratchMem [4096] |
BOOL | TDebug_IsMutexCreated |
T2Mutex | TDebug_Mutex |
const TCHAR * | TDebug_szAssertFilename |
const TCHAR * | TDebug_szAssertExpression |
TUINT | TDebug_uiAssertLineNumber |
void TDebug_AcquireMutex | ( | ) |
Definition at line 19 of file TDebug_Win.cpp.
TINT TDebug_AssertHandler | ( | const TCHAR * | a_szExpression, |
const TCHAR * | a_szFileName, | ||
TUINT | a_uiLineNumber, | ||
const TCHAR * | a_szDescription ) |
Definition at line 141 of file TDebug_Win.cpp.
BOOL CALLBACK TDebug_AssertionDlgProc | ( | HWND | hwnd, |
UINT | Message, | ||
WPARAM | wParam, | ||
LPARAM | lParam ) |
Definition at line 97 of file TDebug_Win.cpp.
void TDebug_BroadcastDebugString | ( | const TCHAR * | a_szString | ) |
Definition at line 86 of file TDebug_Win.cpp.
void TDebug_FinalPrintf | ( | const TCHAR * | a_szFormat, |
... ) |
Definition at line 49 of file TDebug_Win.cpp.
void TDebug_FinalSPrintf | ( | const TCHAR * | a_szFormat, |
... ) |
Definition at line 63 of file TDebug_Win.cpp.
void TDebug_FinalVPrintf | ( | const TCHAR * | a_szFormat, |
va_list | a_Args ) |
Definition at line 57 of file TDebug_Win.cpp.
void TDebug_FinalVSPrintf | ( | const TCHAR * | a_szFormat, |
va_list | a_Args ) |
Definition at line 71 of file TDebug_Win.cpp.
TBOOL TDebug_IsValidAddress | ( | const void * | a_pPtr | ) |
Definition at line 35 of file TDebug_Win.cpp.
void TDebug_OutputDebugString | ( | const TCHAR * | a_szString | ) |
Definition at line 78 of file TDebug_Win.cpp.
void TDebug_ReleaseMutex | ( | ) |
Definition at line 30 of file TDebug_Win.cpp.
BOOL TDebug_IsMutexCreated |
Definition at line 16 of file TDebug_Win.cpp.
T2Mutex TDebug_Mutex |
Definition at line 17 of file TDebug_Win.cpp.
TCHAR TDebug_ScratchMem[4096] |
Definition at line 15 of file TDebug_Win.cpp.
const TCHAR* TDebug_szAssertExpression |
Definition at line 94 of file TDebug_Win.cpp.
const TCHAR* TDebug_szAssertFilename |
Definition at line 93 of file TDebug_Win.cpp.
TUINT TDebug_uiAssertLineNumber |
Definition at line 95 of file TDebug_Win.cpp.