#include "./runtime/Diagnostics.h"#include "./runtime/Profiler.h"Defines | |
| #define | CHK_PTR(ptr) CheckPointer( ptr ) |
| #define | CHK_PTR_RET(ptr, val) do { if ( !CheckPointer( ptr ) ) return val; } while (0) |
Functions | |
| bool | CheckPointer (const void *ptr) |
| #define CHK_PTR | ( | ptr | ) | CheckPointer( ptr ) |
| #define CHK_PTR_RET | ( | ptr, | ||
| val | ||||
| ) | do { if ( !CheckPointer( ptr ) ) return val; } while (0) |
| bool CheckPointer | ( | const void * | ptr | ) | [inline] |
Checks whether the given object is NULL. The function fires a Null-Pointer-Message to the standard logger and returns false, if the given object is NULL. The function returns true, if the given object is not NULL.
1.7.1