Debug.h File Reference
Useful debug functions. More...
Go to the source code of this file.
Defines | |
| #define | Assert(expression, message) |
| #define | FatalError(message) |
| #define | DebugPrint(x) |
Detailed Description
Useful debug functions.This file contains a few macros that are handy to make your code more easy to debug, like Assert and DebugPrint. They are really just wrappers to make it easier to have the functions compile out on certain configurations, and the actual implementation of their functionality is implemented elsewhere, specific for the current platform.
Definition in file Debug.h.
Define Documentation
| #define FatalError | ( | message | ) |
Value:
if (Platform::GetPlatform_OS()) \ { \ Platform::GetPlatform_OS()->ReportFatalError(message, __FILE__, __LINE__); \ } \
Reproduction/republishing of any material on this site without permission is strictly prohibited.
