eLynx SDK
v3.0.1 C++ image processing API reference |
#include <elx/core/CoreOS.h>
Go to the source code of this file.
Defines | |
#define | elxSAFE_DELETE(_p_) { if (NULL != (_p_)) { delete (_p_); (_p_) = NULL; } } |
Macro to safe delete a memory block allocated with new. | |
#define | elxSAFE_DELETE_LIST(_p_) { if (NULL != (_p_)) { delete [] (_p_); (_p_) = NULL; } } |
Macro to safe delete a memory block allocated with new[]. | |
#define | elxSAFE_RELEASE(_p_) { if (NULL != (_p_)) { (_p_)->Release(); (_p_) = NULL; } } |
Macro to safe release an object. | |
#define | elxASSERT(_ibCondition_) |
Assertion facilities. |
#define elxSAFE_DELETE | ( | _p_ | ) | { if (NULL != (_p_)) { delete (_p_); (_p_) = NULL; } } |
#define elxSAFE_DELETE_LIST | ( | _p_ | ) | { if (NULL != (_p_)) { delete [] (_p_); (_p_) = NULL; } } |
Macro to safe delete a memory block allocated with new[].
Definition at line 30 of file CoreMacros.h.
#define elxSAFE_RELEASE | ( | _p_ | ) | { if (NULL != (_p_)) { (_p_)->Release(); (_p_) = NULL; } } |
#define elxASSERT | ( | _ibCondition_ | ) |