16 #ifndef __OMNETPP_SIMKERNELDEFS_H 17 #define __OMNETPP_SIMKERNELDEFS_H 23 #include "platdep/platdefs.h" 26 #define OMNETPP_VERSION 0x0506 29 #define OMNETPP_BUILDNUM 1022 34 #if defined(SIM_EXPORT) 35 # define SIM_API OPP_DLLEXPORT 36 #elif defined(SIM_IMPORT) || defined(OMNETPPLIBS_IMPORT) 37 # define SIM_API OPP_DLLIMPORT 47 #define PI 3.141592653589793 55 #define ASSERT(expr) \ 56 ((void) ((expr) ? 0 : (throw omnetpp::cRuntimeError("ASSERT: Condition '%s' does not hold in function '%s' at %s:%d", \ 57 #expr, __FUNCTION__, __FILE__, __LINE__), 0))) 63 #define ASSERT2(expr,text) \ 64 ((void) ((expr) ? 0 : (throw omnetpp::cRuntimeError("ASSERT: %s in function '%s' at %s:%d", \ 65 text, __FUNCTION__, __FILE__, __LINE__), 0))) 67 #define ASSERT(expr) ((void)0) 68 #define ASSERT2(expr,text) ((void)0) int64_t intpar_t
Type for NED parameter values that store integers. It is guaranteed to be signed and at least as wide...
Definition: simkerneldefs.h:86
int64_t eventnumber_t
Sequence number of events during the simulation. Events are numbered from one. (Event number zero is ...
Definition: simkerneldefs.h:78