Preprocesor macro for write to log message about null-pointer in parameter.
This commit is contained in:
parent
bfece6f521
commit
f24985ea2f
@ -42,7 +42,8 @@
|
|||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
|
|
||||||
extern glog LOG;
|
extern glog LOG;
|
||||||
|
#define LOG_NULL_POINTER \
|
||||||
|
LOG.printf("! Parameter is null pointer. This is internal error in program code! Please make report for developers.")
|
||||||
extern gareafile* AFILE;
|
extern gareafile* AFILE;
|
||||||
extern CfgGed* CFG;
|
extern CfgGed* CFG;
|
||||||
extern LangGed* LNG;
|
extern LangGed* LNG;
|
||||||
|
Reference in New Issue
Block a user