eVaf
globals.h
Go to the documentation of this file.
1 
20 #ifndef __COMMON_GLOBALS_H
21 # define __COMMON_GLOBALS_H
22 
23 #include "libcommon.h"
24 #include "ilogger.h"
25 
60 namespace eVaf {
61 
71 namespace Common {
72 
80 extern bool COMMON_EXPORT init();
81 
85 namespace Internal {
86 } // namespace eVaf::Common::Internal
87 } // namespace eVaf::Common
88 } // namespace eVaf
89 
97 #define EVAF_TEST(cond) \
98  if (!cond) \
99  EVAF_FATAL_ERROR(#cond);
100 
106 #define EVAF_TEST_X(cond, msg) \
107  if (!cond) \
108  EVAF_FATAL_ERROR(msg);
109 
110 #endif // globals.h
#define COMMON_EXPORT
Definition: libcommon.h:27
bool COMMON_EXPORT init()
eVaf common library initialized
Global eVaf namespace.
Definition: engine.h:37
Logger interface for eVaf.