Preprocesor macro for write to log message about null-pointer in parameter.

This commit is contained in:
Stas Degteff 2011-02-14 19:14:01 +00:00
parent bfece6f521
commit f24985ea2f

View File

@ -42,7 +42,8 @@
// ------------------------------------------------------------------
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 CfgGed* CFG;
extern LangGed* LNG;