Common types.
More...
Go to the source code of this file.
Detailed Description
Common types.
Common utilities.
Macro Definition Documentation
| #define TYPE_TO_STRING |
( |
|
T | ) |
std::string(#T) |
| #define VAR_NAME_TO_STRING |
( |
|
T | ) |
std::string(#T) |
Value:if (p) \
{ \
delete p; \
p = 0; \
} \
| #define SAFE_DELETE_ARRAY |
( |
|
p | ) |
{ if (p) { delete[] (p); (p)=NULL; } } |
| #define SAFE_RELEASE |
( |
|
p | ) |
{ if (p) { (p)->Release(); (p)=NULL; } } |
| #define V_RETURN |
( |
|
x | ) |
{ hr = (x); if( FAILED(hr) ) { return hr; } } |
| #define UNREFERENCED_VARIABLE |
( |
|
x | ) |
static_cast<void>(x) |